summaryrefslogtreecommitdiff
path: root/platform/template
diff options
context:
space:
mode:
authorXiang W <[email protected]>2024-04-08 23:27:42 +0800
committerAnup Patel <[email protected]>2024-04-10 09:50:24 +0530
commitd4d2582eef7aac442076f955e4024403f8ff3d96 (patch)
tree3623c416199df750595d3a5147027ee41a51d5b8 /platform/template
parent73344d4724d89ab5591311b9badfad875dddbb92 (diff)
firmware: remove FW_TEXT_START
Now opensbi can run at any address via dynamic relocation. We can remove FW_TEXT_START. Signed-off-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]> Tested-by: Anup Patel <[email protected]>
Diffstat (limited to 'platform/template')
-rw-r--r--platform/template/objects.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/platform/template/objects.mk b/platform/template/objects.mk
index b143cbc4..f240a557 100644
--- a/platform/template/objects.mk
+++ b/platform/template/objects.mk
@@ -41,9 +41,6 @@ platform-objs-y += platform.o
#
# platform-objs-y += <dt file name>.o
-# Firmware load address configuration. This is mandatory.
-FW_TEXT_START=0x80000000
-
# Optional parameter for path to external FDT
# FW_FDT_PATH="path to platform flattened device tree file"
@@ -69,8 +66,7 @@ FW_JUMP=<y|n>
# endif
# FW_JUMP_FDT_OFFSET=0x2200000
#
-# You can use fixed address for jump firmware as an alternative option,
-# but this may fail when setting wrong FW_TEXT_START. Use with caution.
+# You can use fixed address for jump firmware as an alternative option.
# SBI will prefer "<X>_ADDR" if both "<X>_ADDR" and "<X>_OFFSET" are
# defined
# ifeq ($(PLATFORM_RISCV_XLEN), 32)
@@ -97,8 +93,7 @@ endif
# FW_PAYLOAD_PATH="path to next boot stage binary image file"
# FW_PAYLOAD_FDT_OFFSET=0x2200000
#
-# You can use fixed address for payload firmware as an alternative option,
-# but this may fail when setting wrong FW_TEXT_START. Use with caution.
+# You can use fixed address for payload firmware as an alternative option.
# SBI will prefer "FW_PAYLOAD_FDT_ADDR" if both "FW_PAYLOAD_FDT_OFFSET"
# and "FW_PAYLOAD_FDT_ADDR" are defined.
# FW_PAYLOAD_FDT_ADDR=0x82200000