summaryrefslogtreecommitdiff
path: root/src/mainboard/cwwk/adl/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/cwwk/adl/bootblock.c')
-rw-r--r--src/mainboard/cwwk/adl/bootblock.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/cwwk/adl/bootblock.c b/src/mainboard/cwwk/adl/bootblock.c
new file mode 100644
index 0000000000..f19b383907
--- /dev/null
+++ b/src/mainboard/cwwk/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/it8613e/it8613e.h>
+
+#define UART_DEV PNP_DEV(0x2e, IT8613E_SP1)
+
+void bootblock_mainboard_early_init(void)
+{
+ ite_enable_serial(UART_DEV, CONFIG_TTYS0_BASE);
+}