aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u/bootblock.c
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-11-21 13:38:05 +0000
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-23 12:01:56 +0000
commitce4ecfed577ab4b9e06ad6cd0b30d5d9f536877b (patch)
treea779ac2ecfd0298cfd13935d3689d32f302696c2 /src/mainboard/clevo/cml-u/bootblock.c
parente7265a9b10c0bb8169891b3927ebe9e2d31cdd18 (diff)
mb/clevo/cml-u: Move bootblock.c and ramstage.c to mb level
Change-Id: Ifca49c656f259b08fb8ab47fe36e93c146f25266 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47834 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..427b02328f
--- /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)
+{
+ gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
+}