commit | eb6bde07f006d69a068ccec681a3372471ec4a41 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Fri Dec 04 09:05:48 2020 +0100 |
committer | Michael Niewöhner <foss@mniewoehner.de> | Sun Dec 06 11:23:47 2020 +0000 |
tree | c3eeebefd7cfbdc0610e5a4ef0667186d498a81a | |
parent | 42551478a787dec70d94df22f59c6466f566e07a [diff] |
mb/clevo/kbl-u: Add a seperate method for early GPIOs Add variant_configure_early_gpios() configuring early GPIOs to make the difference clear. Change-Id: I6e7c8c32963c9eeab4399947dac511442987cb45 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48298 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/mainboard/clevo/kbl-u/bootblock.c b/src/mainboard/clevo/kbl-u/bootblock.c index 8f085be..b351fbd 100644 --- a/src/mainboard/clevo/kbl-u/bootblock.c +++ b/src/mainboard/clevo/kbl-u/bootblock.c
@@ -5,5 +5,5 @@ void bootblock_mainboard_early_init(void) { - variant_configure_gpios(); + variant_configure_early_gpios(); }
diff --git a/src/mainboard/clevo/kbl-u/include/variant/gpio.h b/src/mainboard/clevo/kbl-u/include/variant/gpio.h index 4258325..95d5762 100644 --- a/src/mainboard/clevo/kbl-u/include/variant/gpio.h +++ b/src/mainboard/clevo/kbl-u/include/variant/gpio.h
@@ -3,6 +3,7 @@ #ifndef VARIANT_GPIO_H #define VARIANT_GPIO_H +void variant_configure_early_gpios(void); void variant_configure_gpios(void); #endif
diff --git a/src/mainboard/clevo/kbl-u/variants/n13xwu/gpio_early.c b/src/mainboard/clevo/kbl-u/variants/n13xwu/gpio_early.c index 46b9ff0..dc55aae 100644 --- a/src/mainboard/clevo/kbl-u/variants/n13xwu/gpio_early.c +++ b/src/mainboard/clevo/kbl-u/variants/n13xwu/gpio_early.c
@@ -11,7 +11,7 @@ _PAD_CFG_STRUCT(GPP_C21, 0x44000700, 0x0) }; -void variant_configure_gpios(void) +void variant_configure_early_gpios(void) { gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table)); }