From 8897bf42889955f5a2a078099dac5b0b8efa18c0 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 21 Aug 2021 13:50:12 -0400 Subject: global: Remove unused or unnecessary CONFIG symbols related to DDR These symbols are now either unused or were only used within the config file to determine other logic, which could be done in a way that doesn't further pollute the CONFIG namespace. Signed-off-by: Tom Rini --- post/cpu/mpc83xx/ecc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'post/cpu') diff --git a/post/cpu/mpc83xx/ecc.c b/post/cpu/mpc83xx/ecc.c index cc971a8..f88eff8 100644 --- a/post/cpu/mpc83xx/ecc.c +++ b/post/cpu/mpc83xx/ecc.c @@ -70,10 +70,6 @@ int ecc_post_test(int flags) int_state = disable_interrupts(); icache_enable(); -#ifdef CONFIG_DDR_32BIT - /* It seems like no one really uses the CONFIG_DDR_32BIT mode */ -#error "Add ECC POST support for CONFIG_DDR_32BIT here!" -#else for (addr = (u64*)CONFIG_SYS_POST_ECC_START_ADDR, errbit=0; addr < (u64*)CONFIG_SYS_POST_ECC_STOP_ADDR; addr++, errbit++ ) { @@ -138,7 +134,6 @@ int ecc_post_test(int flags) errbit %= 63; } -#endif /* !CONFIG_DDR_32BIT */ ecc_clear(ddr); -- cgit v1.1