From fe40af98a3fae4258da9b23d2dbab09498cb56f0 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 20 Dec 2023 22:48:49 +0100 Subject: soc/amd/stoneyridge/BiosCallOuts: add missing curly braces When an if block has curly braces, the corresponding else block should also have curly braces. Signed-off-by: Felix Held Change-Id: Ie1979873142469b1482097f9b4db487541a1b7a5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79673 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/soc/amd/stoneyridge/BiosCallOuts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/soc/amd') diff --git a/src/soc/amd/stoneyridge/BiosCallOuts.c b/src/soc/amd/stoneyridge/BiosCallOuts.c index b00f916aa1..1aebddb020 100644 --- a/src/soc/amd/stoneyridge/BiosCallOuts.c +++ b/src/soc/amd/stoneyridge/BiosCallOuts.c @@ -65,8 +65,9 @@ AGESA_STATUS agesa_fch_initenv(uint32_t Func, uintptr_t FchData, FchParams_env->Sata.SataIdeMode = TRUE; break; } - } else + } else { FchParams_env->Sata.SataIdeMode = FALSE; + } /* Platform updates */ platform_FchParams_env(FchParams_env); -- cgit v1.2.3