[U-Boot] [PATCH 15/26 v2][NEXT] ARM: implement relocation for ARM926

Albert ARIBAUD albert.aribaud at free.fr
Wed Sep 22 11:32:46 CEST 2010


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.


More information about the U-Boot mailing list