[U-Boot] [PATCH] Kirkwood: dram_init is moved to dram.c

Wolfgang Denk
2010-10-01T07:53:47Z

Dear Prafulla Wadaskar,

In message <F766E4F80769BD478052FB6533FA745D19A696EA25@SC-VEXCH4.marvell.com> you wrote:
>
> > This is only OK, if the memory banks are consecutive without
> > gaps ... is this true for all boards?
>
> Yes, those are consecutive without gaps on all boards so far.
> 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?

If possible, the memory controller should be configured such that the
banks are mapped at different addresses then, so that they again form
a contiguous RAM area.

If this is not possible (because the bank base addresses cannot be
adjusted), then we have a problem.

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
Pig: An animal (Porcus omnivorous) closely allied to the human race
by the splendor and vivacity of its appetite, which, however, is in-
ferior in scope, for it balks at pig. - Ambrose Bierce