1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
4 #include <intelblocks/lpc_lib.h>
5 #include <ec/kontron/kempld/kempld.h>
6 #include <variant/gpio.h>
8 static void init_cpld(void)
10 /* Set up LPC decoding for CPLD I/O port ranges */
11 lpc_open_pmio_window(0x0A80, 2);
13 /* Enable console serial ports */
14 lpc_io_setup_comm_a_b();
15 kempld_enable_uart_for_console();
18 void bootblock_mainboard_early_init(void)
20 variant_early_gpio_configure();
24 void bootblock_mainboard_init(void)