From: Wolfgang Denk Date: Fri, 01 Oct 2010 10:00:45 +0200 Subject: [U-Boot] [PATCH] Kirkwood: dram_init is moved to dram.c In-Reply-To: <4CA57CE7.1060209@denx.de> References: <1285869240-17251-1-git-send-email-prafulla@marvell.com> <4CA4AF41.1070307@denx.de> <4CA57CE7.1060209@denx.de> Message-ID: <20101001080045.7BD39153A7E@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 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@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_