[U-Boot] [[Patch V2] mips: 01/16] add mips64 standalone support

Mike Frysinger vapier at gentoo.org
Fri Aug 17 21:31:26 CEST 2012


On Friday 17 August 2012 11:30:44 Zhizhou Zhang wrote:
> --- a/arch/mips/config.mk
> +++ b/arch/mips/config.mk
> 
> +ifeq "$(CPU)" "mips64"
> +CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff80200000 -T mips64.lds
> +else
>  CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T mips.lds
> +endif

the cpu config.mk is sourced after this one.  you could change this to:
CONFIG_STANDALONE_LOAD_ADDR ?= $(DEFAULT_MIPS_STANDALONE_LOAD_ADDR)
DEFAULT_MIPS_STANDALONE_LOAD_ADDR = 0x80200000 -T mips.lds

then in the mips64/config.mk:
DEFAULT_MIPS_STANDALONE_LOAD_ADDR = 0xFfffFfff80200000 -T mips64.lds
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120817/6c1a1ad4/attachment.pgp>


More information about the U-Boot mailing list