summaryrefslogtreecommitdiff
path: root/src/mainboard/topton/adl/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/topton/adl/bootblock.c')
-rw-r--r--src/mainboard/topton/adl/bootblock.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/topton/adl/bootblock.c b/src/mainboard/topton/adl/bootblock.c
new file mode 100644
index 0000000000..285c328778
--- /dev/null
+++ b/src/mainboard/topton/adl/bootblock.c
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <bootblock_common.h>
+#include <superio/ite/common/ite.h>
+#include <superio/ite/it8625e/it8625e.h>
+
+#define UART_DEV PNP_DEV(0x2e, IT8625E_SP1)
+
+void bootblock_mainboard_early_init(void)
+{
+ ite_enable_serial(UART_DEV, CONFIG_TTYS0_BASE);
+}