From 97b0734d65f8a0b03df0a335a2addc759da56107 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Tue, 2 Sep 2008 16:33:05 +0200 Subject: 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 Signed-off-by: Stefan Roese --- board/esd/dasa_sim/dasa_sim.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'board/esd/dasa_sim/dasa_sim.c') diff --git a/board/esd/dasa_sim/dasa_sim.c b/board/esd/dasa_sim/dasa_sim.c index fb0c77e..def0354 100644 --- a/board/esd/dasa_sim/dasa_sim.c +++ b/board/esd/dasa_sim/dasa_sim.c @@ -202,23 +202,3 @@ int checkboard (void) return 0; } - - -/* ------------------------------------------------------------------------- */ - -phys_size_t initdram (int board_type) -{ - return (16 * 1024 * 1024); -} - -/* ------------------------------------------------------------------------- */ - -int testdram (void) -{ - /* TODO: XXX XXX XXX */ - printf ("test: 16 MB - ok\n"); - - return (0); -} - -/* ------------------------------------------------------------------------- */ -- cgit v1.1 From 7deb3b3ecd0e81ef09bb68aa0ec2346f4ae0a405 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Wed, 3 Sep 2008 17:15:45 +0200 Subject: ppx4xx: Fix broken DASA_SIM board This patch adds initdram() to DASA_SIM boards that has been removed accidentally by a previous commit. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese --- board/esd/dasa_sim/dasa_sim.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/esd/dasa_sim/dasa_sim.c') diff --git a/board/esd/dasa_sim/dasa_sim.c b/board/esd/dasa_sim/dasa_sim.c index def0354..4cc3a2f 100644 --- a/board/esd/dasa_sim/dasa_sim.c +++ b/board/esd/dasa_sim/dasa_sim.c @@ -202,3 +202,8 @@ int checkboard (void) return 0; } + +phys_size_t initdram (int board_type) +{ + return (16 * 1024 * 1024); +} -- cgit v1.1