From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 27 Oct 2010 13:28:45 +0200 Subject: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme In-Reply-To: <1288174358-14896-1-git-send-email-shawn.gsc@gmail.com> References: <1288174358-14896-1-git-send-email-shawn.gsc@gmail.com> Message-ID: <4CC80CED.9070804@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 On 10/27/2010 12:12 PM, Shawn Guo wrote: > This patch is to fix build breakage and support new relocatoin > scheme for mx51evk. > > - Correct IRAM base address and add size definition > > The IRAM starts from 0x1FFE0000 on final revsion i.mx51 than > 0x1FFE8000 which is for older revision. > > - Include imx-regs.h in mx51evk.h > > Definitions like CSD0_BASE_ADDR and IRAM_BASE_ADDR can be > referred to. > > - Define CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE > > This is something suggested by Wolfgang, and for automatic > calculation of macros like CONFIG_SYS_GBL_DATA_SIZE (done) and > CONFIG_SYS_INIT_SP_ADDR (later). > > - Remove comment for CONFIG_SYS_GBL_DATA_SIZE which has been > buried by Wolfgang's commit below > > 25ddd1fb: Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value > > Signed-off-by: Shawn Guo Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================