1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
8 void bootblock_mainboard_early_init(void)
10 if (CONFIG(BOOTBLOCK_CONSOLE
)) {
11 if (!uart_is_enabled(CONFIG_UART_FOR_CONSOLE
))
12 uart_setup(CONFIG_UART_FOR_CONSOLE
, CONFIG_TTYS0_BAUD
);
16 static void configure_spi_flash(void)
18 /* FIXME: Only tested on EM100 Pro */
19 spi_init_custom(0, // bus
21 0, // idle low disabled
22 0, // zero idle cycles between transfers
28 void bootblock_mainboard_init(void)
30 configure_spi_flash();