Skip to contentSkip to conversation

ppx4xx: Fix broken DASA_SIM board

PATCH New Matthias Fuchs 2 participants 3 messages Sep 3, 2008 – Sep 4, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppx4xx: Fix broken DASA_SIM board

This patch adds initdram() to DASA_SIM boards that has been removed accidentally by a previous commit.

---
 board/esd/dasa_sim/dasa_sim.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
board/esd/dasa_sim/dasa_sim.c +5 -0
index def0354..4cc3a2f 100644
@@ -202,3 +202,8 @@ int checkboard (void)
 
 	return 0;
 }
+
+phys_size_t initdram (int board_type)
+{
+	return (16 * 1024 * 1024);
+}
Signature · 1 line
1.5.3
#1 lore raw

PATCH 1/1 ppx4xx: Fix broken DASA_SIM board

Dear Matthias Fuchs,

Quoted 13 lines · In message <[email protected]> you wrote:

This patch adds initdram() to DASA_SIM boards that has been removed accidentally by a previous commit.

---
 board/esd/dasa_sim/dasa_sim.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
board/esd/dasa_sim/dasa_sim.c +0 -0
index def0354..4cc3a2f 100644

board/esd/dasa_sim/dasa_sim.c int checkboard (void) · line 209

Quoted 8 lines
board/esd/dasa_sim/dasa_sim.c +5 -0
@@ -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

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Change is the essential process of all existence.
	-- Spock, "Let That Be Your Last Battlefield",
	   stardate 5730.2
#2 lore raw

PATCH 1/1 ppx4xx: Fix broken DASA_SIM board

Hi Wolfgang,

you are right. But currently I do not have any suitable IOP480 based hardware on my desk to test bigger changes.

Matthias

Quoted 32 lines · Wolfgang Denk

Dear Matthias Fuchs,

Quoted 13 lines · In message <[email protected]> you wrote:

This patch adds initdram() to DASA_SIM boards that has been removed accidentally by a previous commit.

---
 board/esd/dasa_sim/dasa_sim.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
board/esd/dasa_sim/dasa_sim.c +0 -0
index def0354..4cc3a2f 100644

board/esd/dasa_sim/dasa_sim.c int checkboard (void) · line 209

Quoted 8 lines
board/esd/dasa_sim/dasa_sim.c +5 -0
@@ -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

Signature · 13 lines
-------------------------------------------------------------------------
Dipl.-Ing. Matthias Fuchs
Head of System Design

esd electronic system design gmbh
Vahrenwalder Str. 207 - 30165 Hannover - GERMANY
Phone: +49-511-37298-0 - Fax: +49-511-37298-68
Please visit our homepage http://www.esd.eu
Quality Products - Made in Germany
-------------------------------------------------------------------------
Gesch?ftsf?hrer: Klaus Detering, Dr. Werner Schulze
Amtsgericht Hannover HRB 51373 - VAT-ID DE 115672832
-------------------------------------------------------------------------