summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:27 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:27 +0200
commit4a14f424b56422cbb012dd5a93600b25fbfdd97e (patch)
tree3f315b2b6c3988db9e56f438a8dcef6b79e0d8a5 /arch/arm/lib
parent42e2dbc120f1a74c8588b5643471bb11e3625a13 (diff)
downloadbarebox-4a14f424b56422cbb012dd5a93600b25fbfdd97e.tar.gz
barebox-4a14f424b56422cbb012dd5a93600b25fbfdd97e.tar.xz
svn_rev_150
remove bi_dram from bd_t
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/board.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 1027502db4..b573b5a068 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -116,27 +116,6 @@ static int display_banner (void)
}
/*
- * WARNING: this code looks "cleaner" than the PowerPC version, but
- * has the disadvantage that you either get nothing, or everything.
- * On PowerPC, you might see "DRAM: " before the system hangs - which
- * gives a simple yet clear indication which part of the
- * initialization if failing.
- */
-static int display_dram_config (void)
-{
- int i;
-
- puts ("RAM Configuration:\n");
-
- for(i=0; i<CONFIG_NR_DRAM_BANKS; i++) {
- printf ("Bank #%d: 0x%08lx ", i, gd->bd->bi_dram[i].start);
- print_size (gd->bd->bi_dram[i].size, "\n");
- }
-
- return (0);
-}
-
-/*
* Breathe some life into the board...
*
* Initialize a serial port as console, and carry out some hardware
@@ -159,13 +138,6 @@ static int display_dram_config (void)
* argument, and returns an integer return code, where 0 means
* "continue" and != 0 means "fatal error, hang the system".
*/
-typedef int (init_fnc_t) (void);
-
-init_fnc_t *init_sequence[] = {
- display_banner, /* say that we are here */
- display_dram_config,
- NULL,
-};
extern initcall_t __u_boot_initcalls_start[], __u_boot_initcalls_end[];