summaryrefslogtreecommitdiffstats
path: root/board/freescale
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2009-11-04 17:34:04 -0600
committerKumar Gala <galak@kernel.crashing.org>2009-11-04 21:37:12 -0600
commit107b579c75256212d4bf8b99ee8d68e0078f3646 (patch)
tree8f35e82f32a7c0ea40ce8580a867fba790111a11 /board/freescale
parent715d8f7608f77c93f1807a032644893fd5b6d08b (diff)
downloadu-boot-107b579c75256212d4bf8b99ee8d68e0078f3646.tar.gz
u-boot-107b579c75256212d4bf8b99ee8d68e0078f3646.tar.xz
u-boot-107b579c75256212d4bf8b99ee8d68e0078f3646.zip
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 <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mpc8610hpcd/mpc8610hpcd.c5
-rw-r--r--board/freescale/mpc8641hpcn/mpc8641hpcn.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c
index 358148faf2..f42c316722 100644
--- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c
+++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c
@@ -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;
}
diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
index 1a08afa69e..c521527d89 100644
--- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c
+++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
@@ -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;
}