summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u/bootblock.c
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-11-21 13:55:28 +0000
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-23 12:02:20 +0000
commit8446935d3b81e37ba3590812d6f39b430f0d426e (patch)
treeeb9f0f4f939d902aefd2c8e2ff032b2908887892 /src/mainboard/clevo/cml-u/bootblock.c
parent79c42635ae9f5be496ead2d760a63d0ab40a5f14 (diff)
mb/clevo/cml-u: Get rid of gpio.h and use C files instead
Split up gpio.h into two seperate compilation units, gpio.c and gpio_early.c, containing the complete configuration and a minimal configuration used in early stages. Tested on clevo/l140cu and it still boots. Change-Id: I5b056e8faac0c426a37501dbc175373c22dde339 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47836 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/clevo/cml-u/bootblock.c b/src/mainboard/clevo/cml-u/bootblock.c
index 427b02328f..d75158cd1f 100644
--- a/src/mainboard/clevo/cml-u/bootblock.c
+++ b/src/mainboard/clevo/cml-u/bootblock.c
@@ -2,9 +2,9 @@
#include <bootblock_common.h>
#include <gpio.h>
-#include <variant/gpio.h>
+#include <mainboard/gpio.h>
void bootblock_mainboard_init(void)
{
- gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
+ mainboard_configure_early_gpios();
}