From 778c7af37ae399cfd72178f4585f3ba626ed84cf Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 29 Jul 2022 10:55:04 +0200 Subject: [PATCH] mb/intel/adlrvp: Fix expected statement Switch cases expect a statement so move the default label. TEST: With BUILD_TIMELESS=1 binary remains identical. Change-Id: I9a5d39bb3cbde64f82fc90186b0f2fb64bcde595 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/66266 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/intel/adlrvp/memory_rpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/intel/adlrvp/memory_rpl.c b/src/mainboard/intel/adlrvp/memory_rpl.c index a541fbf1e2..8302a06d1f 100644 --- a/src/mainboard/intel/adlrvp/memory_rpl.c +++ b/src/mainboard/intel/adlrvp/memory_rpl.c @@ -18,11 +18,11 @@ void rpl_memory_params(FSPM_UPD *memupd) case ADL_P_DDR4_2: case ADL_P_DDR5_1: case ADL_P_DDR5_2: + default: return; case ADL_P_LP5_1: case ADL_P_LP5_2: mem_cfg->Lp5BankMode = 1; return; - default: } }