From: Wolfgang Denk Date: Fri, 01 Oct 2010 09:53:47 +0200 Subject: [U-Boot] [PATCH] Kirkwood: dram_init is moved to dram.c In-Reply-To: References: <1285869240-17251-1-git-send-email-prafulla@marvell.com> <4CA4AF41.1070307@denx.de> Message-ID: <20101001075347.351B71539A0@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 Prafulla Wadaskar, In message 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