aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/prodrive/hermes/ramstage.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-11-30 10:44:42 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-12-05 13:43:28 +0000
commitf9f129a5dc47ec134197a9e934cf3b6dd824aee7 (patch)
tree74a70e7155047cffcdb03af4d8c67b010d4e2e8d /src/mainboard/prodrive/hermes/ramstage.c
parent36854a831e80166218a029f1f688a63f746e8cb6 (diff)
mb/prodrive/hermes: Generalise `check_signature` function
Allow to specify which signature is to be checked. Change-Id: Ica874b1c4283fdb8dbd702c34ccb3315a2cf160d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48147 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/prodrive/hermes/ramstage.c')
-rw-r--r--src/mainboard/prodrive/hermes/ramstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/prodrive/hermes/ramstage.c b/src/mainboard/prodrive/hermes/ramstage.c
index e3dfffc2b3..b8b147d9b6 100644
--- a/src/mainboard/prodrive/hermes/ramstage.c
+++ b/src/mainboard/prodrive/hermes/ramstage.c
@@ -17,7 +17,7 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
params->SataLedEnable = 1;
/* Overwrite params */
- if (!check_signature(I2C_ADDR_EEPROM))
+ if (!check_signature(I2C_ADDR_EEPROM, EEPROM_OFFSET_FSP_SIGNATURE, FSP_UPD_SIGNATURE))
return;
for (u8 i = 0; i <= ARRAY_SIZE(parmas_list); i++) {