diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-03 13:51:15 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-09 16:25:43 +0000 |
commit | 03f0e43a3c4172941f2eadf30f89413632b90cb4 (patch) | |
tree | 8f625362a7b465c8f9e77c22333c0c3b3c181bb8 /src/mainboard | |
parent | f0b5e91b1b76c6034750cfdd45f149cba12aab5e (diff) |
haswell: Drop GPIO indirection layers
This simplifies things and makes type checking possible.
Change-Id: Iefc9baabae286aac2f2c46853adf1f6edf01586f
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43103
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/asrock/b85m_pro4/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/asrock/h81m-hds/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/beltino/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/google/slippy/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/intel/baskingridge/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t440p/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/supermicro/x10slm-f/romstage.c | 1 |
7 files changed, 0 insertions, 11 deletions
diff --git a/src/mainboard/asrock/b85m_pro4/romstage.c b/src/mainboard/asrock/b85m_pro4/romstage.c index c29e219ec1..a72418a8e9 100644 --- a/src/mainboard/asrock/b85m_pro4/romstage.c +++ b/src/mainboard/asrock/b85m_pro4/romstage.c @@ -72,7 +72,6 @@ void mainboard_romstage_entry(void) struct romstage_params romstage_params = { .pei_data = &pei_data, - .gpio_map = &mainboard_gpio_map, }; romstage_common(&romstage_params); diff --git a/src/mainboard/asrock/h81m-hds/romstage.c b/src/mainboard/asrock/h81m-hds/romstage.c index 078e87c850..73c38e7c4b 100644 --- a/src/mainboard/asrock/h81m-hds/romstage.c +++ b/src/mainboard/asrock/h81m-hds/romstage.c @@ -72,7 +72,6 @@ void mainboard_romstage_entry(void) struct romstage_params romstage_params = { .pei_data = &pei_data, - .gpio_map = &mainboard_gpio_map, }; romstage_common(&romstage_params); diff --git a/src/mainboard/google/beltino/romstage.c b/src/mainboard/google/beltino/romstage.c index c49d94fe3e..5d9c37c016 100644 --- a/src/mainboard/google/beltino/romstage.c +++ b/src/mainboard/google/beltino/romstage.c @@ -11,8 +11,6 @@ #include <superio/ite/it8772f/it8772f.h> #include "onboard.h" -extern const struct pch_lp_gpio_map mainboard_gpio_map[]; - void mainboard_config_rcba(void) { /* @@ -107,7 +105,6 @@ void mainboard_romstage_entry(void) struct romstage_params romstage_params = { .pei_data = &pei_data, - .gpio_map = &mainboard_gpio_map, }; /* Early SuperIO setup */ diff --git a/src/mainboard/google/slippy/romstage.c b/src/mainboard/google/slippy/romstage.c index bc14ee029c..5261ddc377 100644 --- a/src/mainboard/google/slippy/romstage.c +++ b/src/mainboard/google/slippy/romstage.c @@ -8,8 +8,6 @@ #include <southbridge/intel/lynxpoint/lp_gpio.h> #include "variant.h" -extern const struct pch_lp_gpio_map mainboard_gpio_map[]; - void mainboard_config_rcba(void) { /* @@ -77,7 +75,6 @@ void mainboard_romstage_entry(void) struct romstage_params romstage_params = { .pei_data = &pei_data, - .gpio_map = &mainboard_gpio_map, }; variant_romstage_entry(&romstage_params); diff --git a/src/mainboard/intel/baskingridge/romstage.c b/src/mainboard/intel/baskingridge/romstage.c index 58c684d98b..abbd8521cb 100644 --- a/src/mainboard/intel/baskingridge/romstage.c +++ b/src/mainboard/intel/baskingridge/romstage.c @@ -114,7 +114,6 @@ void mainboard_romstage_entry(void) struct romstage_params romstage_params = { .pei_data = &pei_data, - .gpio_map = &mainboard_gpio_map, .copy_spd = NULL, }; diff --git a/src/mainboard/lenovo/t440p/romstage.c b/src/mainboard/lenovo/t440p/romstage.c index 70fc2024e6..bd1020deb8 100644 --- a/src/mainboard/lenovo/t440p/romstage.c +++ b/src/mainboard/lenovo/t440p/romstage.c @@ -74,7 +74,6 @@ void mainboard_romstage_entry(void) struct romstage_params romstage_params = { .pei_data = &pei_data, - .gpio_map = &mainboard_gpio_map, }; romstage_common(&romstage_params); diff --git a/src/mainboard/supermicro/x10slm-f/romstage.c b/src/mainboard/supermicro/x10slm-f/romstage.c index 05725ffc66..8bcabd911c 100644 --- a/src/mainboard/supermicro/x10slm-f/romstage.c +++ b/src/mainboard/supermicro/x10slm-f/romstage.c @@ -70,7 +70,6 @@ void mainboard_romstage_entry(void) struct romstage_params romstage_params = { .pei_data = &pei_data, - .gpio_map = &mainboard_gpio_map, }; romstage_common(&romstage_params); |