diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2008-09-02 16:33:05 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-09-03 14:37:52 +0200 |
commit | 97b0734d65f8a0b03df0a335a2addc759da56107 (patch) | |
tree | 034228b680db096f67b7bc14a4c52a71595bb4cc /board/esd/voh405/voh405.c | |
parent | 1092ce218c514e5ccb18450ac5af501d96d6e3e9 (diff) | |
download | u-boot-imx-97b0734d65f8a0b03df0a335a2addc759da56107.zip u-boot-imx-97b0734d65f8a0b03df0a335a2addc759da56107.tar.gz u-boot-imx-97b0734d65f8a0b03df0a335a2addc759da56107.tar.bz2 |
ppc4xx: Remove obsolete or unused functions from some esd boards
This patch removes initdram() and testdram() from most esd 405 platforms.
Some boards also have an empty dummy implementation of
misc_init_f(). This is also removed.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/esd/voh405/voh405.c')
-rw-r--r-- | board/esd/voh405/voh405.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/board/esd/voh405/voh405.c b/board/esd/voh405/voh405.c index 5253422..115f8b4 100644 --- a/board/esd/voh405/voh405.c +++ b/board/esd/voh405/voh405.c @@ -104,13 +104,6 @@ int board_early_init_f (void) return 0; } - -int misc_init_f (void) -{ - return 0; /* dummy implementation */ -} - - int misc_init_r (void) { unsigned char *duart0_mcr = (unsigned char *)((ulong)DUART0_BA + 4); @@ -303,35 +296,6 @@ int checkboard (void) return 0; } -/* ------------------------------------------------------------------------- */ - -phys_size_t initdram (int board_type) -{ - unsigned long val; - - mtdcr(memcfga, mem_mb0cf); - val = mfdcr(memcfgd); - -#if 0 - printf("\nmb0cf=%x\n", val); /* test-only */ - printf("strap=%x\n", mfdcr(strap)); /* test-only */ -#endif - - return (4*1024*1024 << ((val & 0x000e0000) >> 17)); -} - -/* ------------------------------------------------------------------------- */ - -int testdram (void) -{ - /* TODO: XXX XXX XXX */ - printf ("test: 16 MB - ok\n"); - - return (0); -} - -/* ------------------------------------------------------------------------- */ - #ifdef CONFIG_IDE_RESET void ide_set_reset(int on) { |