From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sat, 18 Aug 2012 11:38:31 -0400 Subject: [U-Boot] [[Patch V2] mips: 01/16] add mips64 standalone support In-Reply-To: References: <1345217476-32034-1-git-send-email-etou.zh@gmail.com> <201208171531.27518.vapier@gentoo.org> Message-ID: <201208181138.32630.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday 18 August 2012 08:22:51 Zhi-zhou Zhang wrote: > On Sat, Aug 18, 2012 at 3:31 AM, Mike Frysinger 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 > > Thanks for you advising. But if I changed like so, I should modify mips32/ > config.mk and xburst/config.mk as also. why ? my suggestion shouldn't affect any other cpu config.mk. -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: