aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/config.mk
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-31 08:49:35 -0500
committerTom Rini <trini@konsulko.com>2024-01-31 08:49:35 -0500
commit625e68ef65ef375e60b86984289d99c673fda30e (patch)
tree3ee7d98c10ca1f11d45b4954881e32bef7d18c37 /arch/riscv/config.mk
parent28760ce8640ff6266bd1c1c568a4a231576f3919 (diff)
parent6882255ac3107c58e1153311df8a8270087f8cb3 (diff)
downloadu-boot-WIP/31Jan2024.zip
u-boot-WIP/31Jan2024.tar.gz
u-boot-WIP/31Jan2024.tar.bz2
Merge https://source.denx.de/u-boot/custodians/u-boot-riscvWIP/31Jan2024
* Add RISC-V falcon mode documentation * Add Clang build support * Add cmd to detect Debug Trigger Extension support * Add PWM setting for Unmatched board * Add Milk-V Duo board support * Add new device node and enable new config option for VisionFive2 board * Add second virtio device for RISC-V QEMU
Diffstat (limited to 'arch/riscv/config.mk')
-rw-r--r--arch/riscv/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk
index 9cf2aef..9f16dda 100644
--- a/arch/riscv/config.mk
+++ b/arch/riscv/config.mk
@@ -25,7 +25,7 @@ EFI_LDS := elf_riscv64_efi.lds
PLATFORM_ELFFLAGS += -B riscv -O elf64-littleriscv
endif
-PLATFORM_CPPFLAGS += -ffixed-gp -fpic
+PLATFORM_CPPFLAGS += -ffixed-x3 -fpic
PLATFORM_RELFLAGS += -fno-common -ffunction-sections -fdata-sections
LDFLAGS_u-boot += --gc-sections -static -pie