[U-Boot] [PATCH] 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 matthias.fuchs@esd-electronics.com --- board/esd/dasa_sim/dasa_sim.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
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); +}

Dear Matthias Fuchs,
In message 200809031715.45250.matthias.fuchs@esd-electronics.com you wrote:
This patch adds initdram() to DASA_SIM boards that has been removed accidentally by a previous commit.
Signed-off-by: Matthias Fuchs matthias.fuchs@esd-electronics.com
board/esd/dasa_sim/dasa_sim.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
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);
+}
We should really get rid of hard-coded memory sizes and auto-size all boards.
Best regards,
Wolfgang Denk

Hi Wolfgang,
you are right. But currently I do not have any suitable IOP480 based hardware on my desk to test bigger changes.
Matthias
On Wednesday 03 September 2008 22:58, Wolfgang Denk wrote:
Dear Matthias Fuchs,
In message 200809031715.45250.matthias.fuchs@esd-electronics.com you wrote:
This patch adds initdram() to DASA_SIM boards that has been removed accidentally by a previous commit.
Signed-off-by: Matthias Fuchs matthias.fuchs@esd-electronics.com
board/esd/dasa_sim/dasa_sim.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
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);
+}
We should really get rid of hard-coded memory sizes and auto-size all boards.
Best regards,
Wolfgang Denk
participants (2)
-
Matthias Fuchs
-
Wolfgang Denk