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/lenovo | |
parent | 6eea191511ad63017eafa22d5363a39ac99ab1db (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/lenovo')
-rw-r--r-- | src/mainboard/lenovo/t440p/romstage.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainboard/lenovo/t440p/romstage.c b/src/mainboard/lenovo/t440p/romstage.c index 900bef5d87..0943f1d9ac 100644 --- a/src/mainboard/lenovo/t440p/romstage.c +++ b/src/mainboard/lenovo/t440p/romstage.c @@ -92,9 +92,5 @@ void mainboard_romstage_entry(void) }, }; - struct romstage_params romstage_params = { - .pei_data = &pei_data, - }; - - romstage_common(&romstage_params); + romstage_common(&pei_data); } |