From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 22 Sep 2010 11:32:46 +0200 Subject: [U-Boot] [PATCH 15/26 v2][NEXT] ARM: implement relocation for ARM926 In-Reply-To: <1284721853-8298-16-git-send-email-hs@denx.de> References: <4C62E8C3.8050006@denx.de> <1284721853-8298-1-git-send-email-hs@denx.de> <1284721853-8298-2-git-send-email-hs@denx.de> <1284721853-8298-3-git-send-email-hs@denx.de> <1284721853-8298-4-git-send-email-hs@denx.de> <1284721853-8298-5-git-send-email-hs@denx.de> <1284721853-8298-6-git-send-email-hs@denx.de> <1284721853-8298-7-git-send-email-hs@denx.de> <1284721853-8298-8-git-send-email-hs@denx.de> <1284721853-8298-9-git-send-email-hs@denx.de> <1284721853-8298-10-git-send-email-hs@denx.de> <1284721853-8298-11-git-send-email-hs@denx.de> <1284721853-8298-12-git-send-email-hs@denx.de> <1284721853-8298-13-git-send-email-hs@denx.de> <1284721853-8298-14-git-send-email-hs@denx.de> <1284721853-8298-15-git-send-email-hs@denx.de> <1284721853-8298-16-git-send-email-hs@denx.de> Message-ID: <4C99CD3E.6020609@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 17/09/2010 13:10, Heiko Schocher a ?crit : > diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h > index 357715d..016a21e 100644 > --- a/include/configs/da850evm.h > +++ b/include/configs/da850evm.h > @@ -39,7 +39,6 @@ > #define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID) > #define CONFIG_SYS_HZ 1000 > #define CONFIG_SKIP_LOWLEVEL_INIT > -#define CONFIG_SKIP_RELOCATE_UBOOT /* to a proper address, init done */ > > /* > * Memory Info > @@ -137,4 +136,9 @@ > #undef CONFIG_CMD_ENV > #endif > > +/* additions for new relocation code, must added to all boards */ s/must added/must be added/ > +#undef CONFIG_SYS_ARM_WITHOUT_RELOC /* This board is tested with relocation support */ > +#define CONFIG_SYS_SDRAM_BASE 0xc0000000 > +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ > + CONFIG_SYS_GBL_DATA_SIZE) > #endif /* __CONFIG_H */ > diff --git a/include/configs/imx27lite-common.h b/include/configs/imx27lite-common.h > index 33550ba..812e5f2 100644 > --- a/include/configs/imx27lite-common.h > +++ b/include/configs/imx27lite-common.h > @@ -235,4 +235,9 @@ > "mtdids=" MTDIDS_DEFAULT "\0" \ > "mtdparts=" MTDPARTS_DEFAULT "\0" \ > > +/* additions for new relocation code, must added to all boards */ Ditto -- probably needs a global search and replace. Amicalement, -- Albert.