mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / clevo / cml-u / bootblock.c
blobee6c0b31ce647f261ac01046849aa14ef7c4f6cb
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
4 #include <ec/clevo/it5570e/early_init.h>
5 #include <intelblocks/lpc_lib.h>
6 #include <variant/gpio.h>
8 void bootblock_mainboard_early_init(void)
10 variant_configure_early_gpios();
12 /* Open LGMR window for EC */
13 if (CONFIG(EC_CLEVO_IT5570E))
14 lpc_open_mmio_window(CONFIG_EC_CLEVO_IT5570E_MEM_BASE, 64 * KiB);
17 void bootblock_mainboard_init(void)
19 if (CONFIG(EC_CLEVO_IT5570E))
20 ec_configure_kbled_booteffect();