86xx: Remove redundant code in initdram
PATCH 1/1 86xx: Remove redundant code in initdram
The same code exists both inside an #ifdef and outside of it. Remove the extra code for all the 86xx boards.
Signed-off-by Becky Bruce <[email protected]>
--- board/freescale/mpc8610hpcd/mpc8610hpcd.c | 5 ----- board/freescale/mpc8641hpcn/mpc8641hpcn.c | 5 ----- board/sbc8641d/sbc8641d.c | 5 ----- 3 files changed, 0 insertions(+), 15 deletions(-)
board/freescale/mpc8610hpcd/mpc8610hpcd.c +0 -5
@@ -127,11 +127,6 @@ initdram(int board_type) dram_size =fixed_sdram ();#endif -#if defined(CONFIG_SYS_RAMBOOT ) -puts (" DDR: " ); -return dram_size; -#endif -puts (" DDR: " );return dram_size; }
board/freescale/mpc8641hpcn/mpc8641hpcn.c +0 -5
@@ -74,11 +74,6 @@ initdram(int board_type) dram_size =fixed_sdram ();#endif -#if defined(CONFIG_SYS_RAMBOOT ) -puts (" DDR: " ); -return dram_size; -#endif -puts (" DDR: " );return dram_size; }
board/sbc8641d/sbc8641d.c +0 -5
@@ -62,11 +62,6 @@ phys_size_t initdram (int board_type) dram_size =fixed_sdram ();#endif -#if defined(CONFIG_SYS_RAMBOOT ) -puts (" DDR: " ); -return dram_size; -#endif -puts (" DDR: " );return dram_size; }
Signature · 1 line
1.6.0.6
Kumar Gala
AppliedPATCH 1/1 86xx: Remove redundant code in initdram
Quoted 9 lines · Becky Bruce
The same code exists both inside an #ifdef and outside of it. Remove the extra code for all the 86xx boards.
Signed-off-by Becky Bruce <[email protected]>---
board/freescale/mpc8610hpcd/mpc8610hpcd.c | 5 ----- board/freescale/mpc8641hpcn/mpc8641hpcn.c | 5 ----- board/sbc8641d/sbc8641d.c | 5 ----- 3 files changed, 0 insertions(+), 15 deletions(-)
applied
- k