summaryrefslogtreecommitdiffstats
path: root/board/esd/cpci2dp
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>2008-09-02 16:33:05 +0200
committerStefan Roese <sr@denx.de>2008-09-03 14:37:52 +0200
commit97b0734d65f8a0b03df0a335a2addc759da56107 (patch)
tree034228b680db096f67b7bc14a4c52a71595bb4cc /board/esd/cpci2dp
parent1092ce218c514e5ccb18450ac5af501d96d6e3e9 (diff)
downloadblackbird-obmc-uboot-97b0734d65f8a0b03df0a335a2addc759da56107.tar.gz
blackbird-obmc-uboot-97b0734d65f8a0b03df0a335a2addc759da56107.zip
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/cpci2dp')
-rw-r--r--board/esd/cpci2dp/cpci2dp.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/board/esd/cpci2dp/cpci2dp.c b/board/esd/cpci2dp/cpci2dp.c
index 54de0b8062..8bc40d5a2f 100644
--- a/board/esd/cpci2dp/cpci2dp.c
+++ b/board/esd/cpci2dp/cpci2dp.c
@@ -67,13 +67,6 @@ int board_early_init_f (void)
return 0;
}
-
-int misc_init_f (void)
-{
- return 0; /* dummy implementation */
-}
-
-
int misc_init_r (void)
{
unsigned long cntrl0Reg;
@@ -115,20 +108,6 @@ int checkboard (void)
return 0;
}
-/* ------------------------------------------------------------------------- */
-
-phys_size_t initdram (int board_type)
-{
- unsigned long val;
-
- mtdcr(memcfga, mem_mb0cf);
- val = mfdcr(memcfgd);
-
- return (4*1024*1024 << ((val & 0x000e0000) >> 17));
-}
-
-/* ------------------------------------------------------------------------- */
-
#if defined(CFG_EEPROM_WREN)
/* Input: <dev_addr> I2C address of EEPROM device to enable.
* <state> -1: deliver current state
OpenPOWER on IntegriCloud