[U-Boot] [PATCH] Kirkwood: Changes specific to ARM relocation support

Heiko Schocher hs at denx.de
Thu Sep 30 17:40:49 CEST 2010


Hello Prafulla,

Prafulla Wadaskar wrote:
> All Kirkwood based boards are supported for this new implementation
> ref: dovs/README.arm-relocation

should be docs/README.arm-relocation

> Signed-off-by: Prafulla Wadaskar <prafulla at marvell.com>
> ---
>  include/configs/mv-common.h |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
> index ca9f33b..b80ad00 100644
> --- a/include/configs/mv-common.h
> +++ b/include/configs/mv-common.h
> @@ -56,6 +56,12 @@
>  #error "Unsupported SoC"
>  #endif
>  
> +/* additions for new ARM relocation support */
> +#undef CONFIG_RELOC_FIXUP_WORKS

Should not be necessary.

> +#define CONFIG_SYS_SDRAM_BASE		0x00000000
> +#define CONFIG_SYS_INIT_SP_ADDR		(0x00000000 + 0x1000 - \
> +					CONFIG_SYS_GBL_DATA_SIZE)

I setup the initial stack in the SDRAM, because I didn;t know,
if there is on this cpu family a better place for the initial stack.
(Some cpu internal ram?)

Do you know, if we have something like this on this cpu family?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list