summaryrefslogtreecommitdiffstats
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-12-20 22:48:49 +0100
committerShelley Chen <shchen@google.com>2023-12-26 17:21:59 +0000
commitfe40af98a3fae4258da9b23d2dbab09498cb56f0 (patch)
tree04dfc206dcf5d2b11409e24fb2b25d4c23db065b /src/soc/amd
parentaa8ae1a9b832a2a3f7ee6c013dbac6c00ddfaacf (diff)
downloadcoreboot-fe40af98a3fae4258da9b23d2dbab09498cb56f0.tar.gz
coreboot-fe40af98a3fae4258da9b23d2dbab09498cb56f0.tar.bz2
coreboot-fe40af98a3fae4258da9b23d2dbab09498cb56f0.zip
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 <felix-coreboot@felixheld.de> Change-Id: Ie1979873142469b1482097f9b4db487541a1b7a5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79673 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/stoneyridge/BiosCallOuts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/BiosCallOuts.c b/src/soc/amd/stoneyridge/BiosCallOuts.c
index b00f916aa118..1aebddb0207b 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);