From f0b5e91b1b76c6034750cfdd45f149cba12aab5e Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 3 Jul 2020 13:45:33 +0200 Subject: mb/google/slippy: Put GPIOs in a C file This will allow dropping the pointer inside romstage_params. Change-Id: Iec6dac1a271b22d6c09b4064a9e8a310e57026a6 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43102 Tested-by: build bot (Jenkins) Reviewed-by: Tristan Corrick --- src/mainboard/google/slippy/romstage.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/google/slippy/romstage.c') diff --git a/src/mainboard/google/slippy/romstage.c b/src/mainboard/google/slippy/romstage.c index 0b43adff38..bc14ee029c 100644 --- a/src/mainboard/google/slippy/romstage.c +++ b/src/mainboard/google/slippy/romstage.c @@ -5,8 +5,11 @@ #include #include #include +#include #include "variant.h" +extern const struct pch_lp_gpio_map mainboard_gpio_map[]; + void mainboard_config_rcba(void) { /* @@ -74,6 +77,7 @@ void mainboard_romstage_entry(void) struct romstage_params romstage_params = { .pei_data = &pei_data, + .gpio_map = &mainboard_gpio_map, }; variant_romstage_entry(&romstage_params); -- cgit v1.2.3