]> git.sur5r.net Git - u-boot/commitdiff
86xx: Remove redundant code in initdram
authorBecky Bruce <beckyb@kernel.crashing.org>
Wed, 4 Nov 2009 23:34:04 +0000 (17:34 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 5 Nov 2009 03:37:12 +0000 (21:37 -0600)
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 <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8610hpcd/mpc8610hpcd.c
board/freescale/mpc8641hpcn/mpc8641hpcn.c
board/sbc8641d/sbc8641d.c

index 358148faf2a84febe1b23859c38b6938aaf93303..f42c3167224d5f843476b81b00554fc42760538b 100644 (file)
@@ -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;
 }
index 1a08afa69ec2b8b462a32eb81458101747d3d6a8..c521527d890b4a27264dfbfdf73ac9f718bb0e3b 100644 (file)
@@ -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;
 }
index aabefa9a7564c19d88b2040865ac32373b22ce2a..c4e987532494d1a7701a744e6ddd7e1029fe303f 100644 (file)
@@ -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;
 }