[U-Boot] [PATCH] ppx4xx: Fix broken DASA_SIM board
Wolfgang Denk
wd at denx.de
Wed Sep 3 22:58:43 CEST 2008
Dear Matthias Fuchs,
In message <200809031715.45250.matthias.fuchs at 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 at 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
--
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
More information about the U-Boot
mailing list