mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-25 15:51:41 +01:00
platform: Enable dynamic firmware for appropriate platforms
This patch enables FW_DYNAMIC option (i.e. dynamic firmware) for all appropriate/applicable platforms. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
@@ -24,6 +24,7 @@ PLATFORM_SYS_CLINT=y
|
|||||||
|
|
||||||
# Blobs to build
|
# Blobs to build
|
||||||
FW_TEXT_START=0x80000000
|
FW_TEXT_START=0x80000000
|
||||||
|
FW_DYNAMIC=y
|
||||||
FW_JUMP=y
|
FW_JUMP=y
|
||||||
ifeq ($(PLATFORM_RISCV_XLEN), 32)
|
ifeq ($(PLATFORM_RISCV_XLEN), 32)
|
||||||
# This needs to be 4MB alligned for 32-bit system
|
# This needs to be 4MB alligned for 32-bit system
|
||||||
|
@@ -24,6 +24,7 @@ PLATFORM_SYS_CLINT=y
|
|||||||
|
|
||||||
# Blobs to build
|
# Blobs to build
|
||||||
FW_TEXT_START=0x80000000
|
FW_TEXT_START=0x80000000
|
||||||
|
FW_DYNAMIC=y
|
||||||
FW_JUMP=y
|
FW_JUMP=y
|
||||||
ifeq ($(PLATFORM_RISCV_XLEN), 32)
|
ifeq ($(PLATFORM_RISCV_XLEN), 32)
|
||||||
# This needs to be 4MB alligned for 32-bit system
|
# This needs to be 4MB alligned for 32-bit system
|
||||||
|
@@ -20,6 +20,7 @@ PLATFORM_SYS_CLINT=y
|
|||||||
|
|
||||||
# Blobs to build
|
# Blobs to build
|
||||||
FW_TEXT_START=0x80000000
|
FW_TEXT_START=0x80000000
|
||||||
|
FW_DYNAMIC=y
|
||||||
FW_JUMP=y
|
FW_JUMP=y
|
||||||
FW_JUMP_ADDR=0x80200000
|
FW_JUMP_ADDR=0x80200000
|
||||||
FW_JUMP_FDT_ADDR=0x82200000
|
FW_JUMP_FDT_ADDR=0x82200000
|
||||||
|
@@ -45,6 +45,13 @@ platform-ldflags-y =
|
|||||||
# Firmware load address configuration. This is mandatory.
|
# Firmware load address configuration. This is mandatory.
|
||||||
FW_TEXT_START=0x80000000
|
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.
|
# Jump firmware configuration.
|
||||||
# Optional parameters are commented out. Uncomment and define these parameters
|
# Optional parameters are commented out. Uncomment and define these parameters
|
||||||
@@ -83,4 +90,3 @@ endif
|
|||||||
# Allow linking against static libc for standard functions (memset, memcpy, etc)
|
# Allow linking against static libc for standard functions (memset, memcpy, etc)
|
||||||
#
|
#
|
||||||
# PLATFORM_INCLUDE_LIBC=y
|
# PLATFORM_INCLUDE_LIBC=y
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user