summaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorRick Chen <rick@andestech.com>2019-01-15 10:41:20 +0800
committerAndes <uboot@andestech.com>2019-01-22 17:35:57 +0800
commit9135858fb861d4aa0c8521442cc20932c1e2e097 (patch)
treeb7db7deb36ebe137f6a30ee38f19e7b812c68cf5 /arch/nds32
parent28c107f05ede76924449fb214c02a826d2f7d02f (diff)
downloadu-boot-9135858fb861d4aa0c8521442cc20932c1e2e097.tar.gz
u-boot-9135858fb861d4aa0c8521442cc20932c1e2e097.tar.bz2
u-boot-9135858fb861d4aa0c8521442cc20932c1e2e097.zip
nds32: Generate SW fpu instruction.
Force it to generate SW fup instruction. It help to avoid bugs when running on no-HW-fpu board, but compile with v3f which support HW fpu instruction. Signed-off-by: Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk
index a0f14ae589..4e10de072e 100644
--- a/arch/nds32/config.mk
+++ b/arch/nds32/config.mk
@@ -15,8 +15,8 @@ endif
CONFIG_STANDALONE_LOAD_ADDR = 0x300000
LDFLAGS_STANDALONE += -T $(srctree)/examples/standalone/nds32.lds
-PLATFORM_RELFLAGS += -fno-common -mrelax
+PLATFORM_RELFLAGS += -fno-common -mrelax -mno-ext-fpu-dp -mfloat-abi=soft
PLATFORM_RELFLAGS += -gdwarf-2
PLATFORM_CPPFLAGS += -D__nds32__ -ffixed-10 -fpie
-LDFLAGS_u-boot = --gc-sections --relax -pie
+LDFLAGS_u-boot = --gc-sections --relax -pie --mabi=AABI