aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-08 02:33:28 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-10 10:53:33 +0000
commita2bb4553a558c4a33046a2e0f9c76b056e1c07fd (patch)
tree5041400712e69e3097a6d96c50b0c290346200d9 /src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c
parent2719a451c335939a5f4fcf5682d1783f9dd0e697 (diff)
mb/lippert: Put files under variants/
This isn't reproducible for some reason, but it is relatively simple. Change-Id: I507229be71ac2c589c7ecd81495d38ce363d26a7 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43275 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c')
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c
new file mode 100644
index 0000000000..5077db799b
--- /dev/null
+++ b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <bootblock_common.h>
+#include <superio/winbond/common/winbond.h>
+#include <superio/winbond/w83627dhg/w83627dhg.h>
+
+#define SERIAL_DEV PNP_DEV(0x4e, W83627DHG_SP1)
+
+void bootblock_mainboard_early_init(void)
+{
+ winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
+}