payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / starlabs / lite / bootblock.c
blob6bf172344d832f1eb741bb096b34463ebae26368
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
4 #include <console/console.h>
5 #include <intelblocks/lpc_lib.h>
6 #include <soc/gpio.h>
7 #include <variants.h>
9 void bootblock_mainboard_init(void)
11 const struct pad_config *pads;
12 size_t num;
14 pads = variant_early_gpio_table(&num);
15 gpio_configure_pads(pads, num);
17 if (CONFIG(EC_STARLABS_NUVOTON))
18 lpc_open_mmio_window(0xfe800000, 0x10000);