diff options
Diffstat (limited to 'board/lwmon5/sdram.c')
-rw-r--r-- | board/lwmon5/sdram.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/lwmon5/sdram.c b/board/lwmon5/sdram.c index 5dfbb0b..bcb3449 100644 --- a/board/lwmon5/sdram.c +++ b/board/lwmon5/sdram.c @@ -147,7 +147,6 @@ static void program_ecc(u32 start_address, ************************************************************************/ phys_size_t initdram (int board_type) { -#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_LCD4_LWMON5) /* CL=4 */ mtsdram(DDR0_02, 0x00000000); @@ -241,7 +240,6 @@ phys_size_t initdram (int board_type) * exceptions are enabled. */ set_mcsr(get_mcsr()); -#endif /* CONFIG_SPL_BUILD */ return (CONFIG_SYS_MBYTES_SDRAM << 20); } |