summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-03 14:22:20 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-12 09:56:56 +0000
commit14c4f4f43cc5a1cdcb2769357cee7e00fd620e93 (patch)
tree8f903f480db057e084ea300e42ea507ccbf901e4 /src/mainboard/asrock
parent6eea191511ad63017eafa22d5363a39ac99ab1db (diff)
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.c6
-rw-r--r--src/mainboard/asrock/h81m-hds/romstage.c6
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 a72418a8e9..c99bb6f422 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 73c38e7c4b..5ce0145199 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);
}