[U-Boot] [PATCH] Kirkwood: dram_init is moved to dram.c
Wolfgang Denk
wd at denx.de
Fri Oct 1 10:00:45 CEST 2010
Dear Heiko Schocher,
[There is no need to always keep the full quote. Please delete parts
that are not interesting for the current diuscussion.]
In message <4CA57CE7.1060209 at denx.de> you wrote:
>
> > But one can configure with gaps too, for ex. If any new board uses two chips with smaller size then it is possibility of gap insertion.
> >
> > In that case how it should be?
>
> Good question ... for this case we must adapt in arch/arm/lib/board.c
>
> addr = CONFIG_SYS_SDRAM_BASE + gd->ram_size;
>
> But no idea, where to put u-boot ... at the end of the first
> bank? at the end of the last bank?
It seems logical to me to put U-Boot to the end of the bank with the
highest address.
But as mentioned before, this may be not a nice system to use. So far
we kind of assume to have a contiguous area of RAM usable.
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
If it went on at this rate, in several billion years he'd be rich
beyond his wildest dreams! - Terry Pratchett, _Soul Music_
More information about the U-Boot
mailing list