summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u/bootblock.c
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-12-21 03:58:13 +0000
committerMichael Niewöhner <foss@mniewoehner.de>2020-12-22 13:43:17 +0000
commitb2a749d4acc25ddf07f754f8c95e48e809b7f425 (patch)
tree8a94a97b1f18884bd74ccc94369c68c6215ed396 /src/mainboard/clevo/cml-u/bootblock.c
parent6c0aba2059c860dba1002aade61a5a84686cd9c8 (diff)
Revert "mb/clevo/cml-u: drop duplicated configuration of UART pads"
This reverts commit 1a0071c7115819302c7df3fa2c07b1ca971e515d. Reason for revert: UART pad configuration should not be done in common code, since it could cause short circuits if the user configures a wrong UART index. Change-Id: I6022935eaab748f82c6330be0729ff72f4880493 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48328 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/clevo/cml-u/bootblock.c')
-rw-r--r--src/mainboard/clevo/cml-u/bootblock.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/clevo/cml-u/bootblock.c b/src/mainboard/clevo/cml-u/bootblock.c
new file mode 100644
index 0000000000..389a7a986d
--- /dev/null
+++ b/src/mainboard/clevo/cml-u/bootblock.c
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <bootblock_common.h>
+#include <gpio.h>
+#include <variant/gpio.h>
+
+void bootblock_mainboard_init(void)
+{
+ variant_configure_early_gpios();
+}