summaryrefslogtreecommitdiff
path: root/arch/riscv/config.mk
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-01-15 22:05:05 -0500
committerTom Rini <trini@konsulko.com>2019-01-15 22:05:05 -0500
commit0cd35f392000fb0783149d9b5f66c5f2e01bcbf1 (patch)
treeb2bc80bd79b2ba7aa387abc575630b03b7470c36 /arch/riscv/config.mk
parente807f6b5f9a164dc1fc35e1c733fa343acf335c0 (diff)
parent91882c472d8c0aef4db699d3f2de55bf43d4ae4b (diff)
Merge git://git.denx.de/u-boot-riscv
1. Improve cache implementation. 2. Fix and improve standalone applications
Diffstat (limited to 'arch/riscv/config.mk')
-rw-r--r--arch/riscv/config.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk
index ff4fe64001..84654eb3ed 100644
--- a/arch/riscv/config.mk
+++ b/arch/riscv/config.mk
@@ -23,8 +23,7 @@ PLATFORM_LDFLAGS += -m $(64bit-emul)
EFI_LDS := elf_riscv64_efi.lds
endif
-CONFIG_STANDALONE_LOAD_ADDR = 0x00000000
-LDFLAGS_STANDALONE += -T $(srctree)/examples/standalone/riscv.lds
+CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
PLATFORM_CPPFLAGS += -ffixed-gp -fpic
PLATFORM_RELFLAGS += -fno-common -gdwarf-2 -ffunction-sections \