diff options
author | Tom Rini <trini@konsulko.com> | 2021-08-21 13:50:12 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-30 19:49:22 -0400 |
commit | 8897bf42889955f5a2a078099dac5b0b8efa18c0 (patch) | |
tree | c680daa93a1a9057a9821816311267faeb6084a7 /post/cpu | |
parent | a85a8e63c5cf8ccb3905eb5982bf8bdcb2978557 (diff) | |
download | u-boot-8897bf42889955f5a2a078099dac5b0b8efa18c0.zip u-boot-8897bf42889955f5a2a078099dac5b0b8efa18c0.tar.gz u-boot-8897bf42889955f5a2a078099dac5b0b8efa18c0.tar.bz2 |
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/cpu')
-rw-r--r-- | post/cpu/mpc83xx/ecc.c | 5 |
1 files changed, 0 insertions, 5 deletions
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); |