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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user