diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-03 14:22:20 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-12 09:56:56 +0000 |
commit | 14c4f4f43cc5a1cdcb2769357cee7e00fd620e93 (patch) | |
tree | 8f903f480db057e084ea300e42ea507ccbf901e4 /src/mainboard/asrock | |
parent | 6eea191511ad63017eafa22d5363a39ac99ab1db (diff) | |
download | coreboot-14c4f4f43cc5a1cdcb2769357cee7e00fd620e93.tar.gz coreboot-14c4f4f43cc5a1cdcb2769357cee7e00fd620e93.tar.bz2 coreboot-14c4f4f43cc5a1cdcb2769357cee7e00fd620e93.zip |
haswell: Drop `struct romstage_params` type
It only contains a pointer to another struct. Flatten it.
Change-Id: Iab427592c332646e032a768719fc380c5794086b
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43106
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r-- | src/mainboard/asrock/b85m_pro4/romstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/asrock/h81m-hds/romstage.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/src/mainboard/asrock/b85m_pro4/romstage.c b/src/mainboard/asrock/b85m_pro4/romstage.c index a72418a8e94f..c99bb6f422f3 100644 --- a/src/mainboard/asrock/b85m_pro4/romstage.c +++ b/src/mainboard/asrock/b85m_pro4/romstage.c @@ -70,9 +70,5 @@ void mainboard_romstage_entry(void) }, }; - struct romstage_params romstage_params = { - .pei_data = &pei_data, - }; - - romstage_common(&romstage_params); + romstage_common(&pei_data); } diff --git a/src/mainboard/asrock/h81m-hds/romstage.c b/src/mainboard/asrock/h81m-hds/romstage.c index 73c38e7c4bd4..5ce01451995b 100644 --- a/src/mainboard/asrock/h81m-hds/romstage.c +++ b/src/mainboard/asrock/h81m-hds/romstage.c @@ -70,9 +70,5 @@ void mainboard_romstage_entry(void) }, }; - struct romstage_params romstage_params = { - .pei_data = &pei_data, - }; - - romstage_common(&romstage_params); + romstage_common(&pei_data); } |