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

Zhi-zhou Zhang etou.zh at gmail.com
Sat Aug 18 14:22:51 CEST 2012


On Sat, Aug 18, 2012 at 3:31 AM, Mike Frysinger <vapier at gentoo.org> wrote:

> 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
>
Thanks for you advising. But if I changed like so, I should modify mips32/
config.mk and xburst/config.mk as also.

I think that's not good for modified too much files.

-- 
Regards,
Zhizhou Zhang


More information about the U-Boot mailing list