aboutsummaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorTom Rini2021-08-21 13:50:12 -0400
committerTom Rini2021-08-30 19:49:22 -0400
commit8897bf42889955f5a2a078099dac5b0b8efa18c0 (patch)
treec680daa93a1a9057a9821816311267faeb6084a7 /post
parenta85a8e63c5cf8ccb3905eb5982bf8bdcb2978557 (diff)
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 <trini@konsulko.com>
Diffstat (limited to 'post')
-rw-r--r--post/cpu/mpc83xx/ecc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/post/cpu/mpc83xx/ecc.c b/post/cpu/mpc83xx/ecc.c
index cc971a89097..f88eff8998f 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);