Tim Crawford has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/49724 )
Change subject: src/drivers/smmstore: Fix SMMSTOREv1 clear command ......................................................................
src/drivers/smmstore: Fix SMMSTOREv1 clear command
The `clear` command for SMMSTORE version 1 does not require a parameter.
Change-Id: I992b7ce5962bf7ee62b7e1970ae7aa1b975ef42e Signed-off-by: Tim Crawford tcrawford@system76.com --- M src/drivers/smmstore/smi.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/49724/1
diff --git a/src/drivers/smmstore/smi.c b/src/drivers/smmstore/smi.c index b90338c..6ea447f 100644 --- a/src/drivers/smmstore/smi.c +++ b/src/drivers/smmstore/smi.c @@ -143,7 +143,7 @@
uint32_t smmstore_exec(uint8_t command, void *param) { - if (!param) + if (command != SMMSTORE_CMD_CLEAR && !param) return SMMSTORE_RET_FAILURE;
if (CONFIG(SMMSTORE_V2))