diff options
-rw-r--r-- | platform/qemu/sifive_u/config.mk | 1 | ||||
-rw-r--r-- | platform/qemu/virt/config.mk | 1 | ||||
-rw-r--r-- | platform/sifive/fu540/config.mk | 1 | ||||
-rw-r--r-- | platform/template/config.mk | 8 |
4 files changed, 10 insertions, 1 deletions
diff --git a/platform/qemu/sifive_u/config.mk b/platform/qemu/sifive_u/config.mk index 097fcdb..87e12ee 100644 --- a/platform/qemu/sifive_u/config.mk +++ b/platform/qemu/sifive_u/config.mk @@ -24,6 +24,7 @@ PLATFORM_SYS_CLINT=y # Blobs to build FW_TEXT_START=0x80000000 +FW_DYNAMIC=y FW_JUMP=y ifeq ($(PLATFORM_RISCV_XLEN), 32) # This needs to be 4MB alligned for 32-bit system diff --git a/platform/qemu/virt/config.mk b/platform/qemu/virt/config.mk index ad58b72..2b0709c 100644 --- a/platform/qemu/virt/config.mk +++ b/platform/qemu/virt/config.mk @@ -24,6 +24,7 @@ PLATFORM_SYS_CLINT=y # Blobs to build FW_TEXT_START=0x80000000 +FW_DYNAMIC=y FW_JUMP=y ifeq ($(PLATFORM_RISCV_XLEN), 32) # This needs to be 4MB alligned for 32-bit system diff --git a/platform/sifive/fu540/config.mk b/platform/sifive/fu540/config.mk index 352c156..fbb5db8 100644 --- a/platform/sifive/fu540/config.mk +++ b/platform/sifive/fu540/config.mk @@ -20,6 +20,7 @@ PLATFORM_SYS_CLINT=y # Blobs to build FW_TEXT_START=0x80000000 +FW_DYNAMIC=y FW_JUMP=y FW_JUMP_ADDR=0x80200000 FW_JUMP_FDT_ADDR=0x82200000 diff --git a/platform/template/config.mk b/platform/template/config.mk index 5623a9b..5ba8efc 100644 --- a/platform/template/config.mk +++ b/platform/template/config.mk @@ -46,6 +46,13 @@ platform-ldflags-y = FW_TEXT_START=0x80000000 # +# Dynamic firmware configuration. +# Optional parameters are commented out. Uncomment and define these parameters +# as needed. +# +FW_DYNAMIC=<y|n> + +# # Jump firmware configuration. # Optional parameters are commented out. Uncomment and define these parameters # as needed. @@ -83,4 +90,3 @@ endif # Allow linking against static libc for standard functions (memset, memcpy, etc) # # PLATFORM_INCLUDE_LIBC=y - |