blob: 6e2f34d10ed275e206d5d564c89118703d24af22 [file] [log] [blame]
Angel Ponsb6636b02020-04-05 13:21:41 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Shelley Chene3110b82018-12-10 12:59:01 -08002
3#include <baseboard/variants.h>
4#include <bootblock_common.h>
5#include <soc/gpio.h>
6
Michael Niewöhner3a2d4002020-12-21 03:46:58 +01007void bootblock_mainboard_early_init(void)
Shelley Chene3110b82018-12-10 12:59:01 -08008{
Tim Wawrzynczak08eca5d2019-08-07 15:33:04 -06009 const struct pad_config *variant_early_table;
10 size_t variant_gpios;
Shelley Chene3110b82018-12-10 12:59:01 -080011
Tim Wawrzynczak08eca5d2019-08-07 15:33:04 -060012 variant_early_table = variant_early_gpio_table(&variant_gpios);
13 gpio_configure_pads(variant_early_table, variant_gpios);
Shelley Chene3110b82018-12-10 12:59:01 -080014}