From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhizhou Zhang Date: Fri, 17 Aug 2012 23:30:44 +0800 Subject: [U-Boot] [[Patch V2] mips: 01/16] add mips64 standalone support In-Reply-To: <1345217476-32034-1-git-send-email-etou.zh@gmail.com> References: <1345217476-32034-1-git-send-email-etou.zh@gmail.com> Message-ID: <1345217476-32034-2-git-send-email-etou.zh@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Daniel Schwierzeck told me to do it with macro, But it seems not work. For u-boot.lds was genarete by gcc. It's hard to do that without a lot modify. --- arch/mips/config.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/mips/config.mk b/arch/mips/config.mk index 6ab8acd..56996cc 100644 --- a/arch/mips/config.mk +++ b/arch/mips/config.mk @@ -23,7 +23,11 @@ CROSS_COMPILE ?= mips_4KC- +ifeq "$(CPU)" "mips64" +CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff80200000 -T mips64.lds +else CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T mips.lds +endif PLATFORM_CPPFLAGS += -DCONFIG_MIPS -D__MIPS__ -- 1.7.9.5