From: Wolfgang Denk Date: Wed, 03 Sep 2008 22:58:43 +0200 Subject: [U-Boot] [PATCH] ppx4xx: Fix broken DASA_SIM board In-Reply-To: <200809031715.45250.matthias.fuchs@esd-electronics.com> References: <200809031715.45250.matthias.fuchs@esd-electronics.com> Message-ID: <20080903205843.1CF08248A0@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 -- 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