summaryrefslogtreecommitdiff
path: root/firmware/fw_payload.S
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-10-14 14:13:34 +0300
committerAnup Patel <anup@brainfault.org>2020-10-18 07:59:59 +0300
commit9c07c513aa9b2df64a971432e8dae3338a8e22ab (patch)
tree1b3aedf8cfd58fc6cd5f9f41ea2530b4fdee76b0 /firmware/fw_payload.S
parent6ca096977d723f3ac50291d668719bd938a85544 (diff)
downloadopensbi-9c07c513aa9b2df64a971432e8dae3338a8e22ab.tar.xz
firmware: Remove FW_PAYLOAD_FDT_PATH compile-time option
The FW_PAYLOAD_FDT_PATH compile-time option is replaced by FW_FDT_PATH compile-time option which is more flexible and common across all OpenSBI firmwares. This patch removes FW_PAYLOAD_FDT_PATH and updates related documentation to use FW_FDT_PATH. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'firmware/fw_payload.S')
-rw-r--r--firmware/fw_payload.S25
1 files changed, 0 insertions, 25 deletions
diff --git a/firmware/fw_payload.S b/firmware/fw_payload.S
index 9805d8c..1ef121e 100644
--- a/firmware/fw_payload.S
+++ b/firmware/fw_payload.S
@@ -36,23 +36,6 @@ fw_save_info:
.section .entry, "ax", %progbits
.align 3
- .global fw_prev_arg1
- /*
- * We can only use a0, a1, and a2 registers here.
- * The a0, a1, and a2 registers will be same as passed by
- * previous booting stage.
- * The previous arg1 should be returned in 'a0'.
- */
-fw_prev_arg1:
-#ifdef FW_PAYLOAD_FDT_PATH
- la a0, fdt_bin
-#else
- add a0, zero, zero
-#endif
- ret
-
- .section .entry, "ax", %progbits
- .align 3
.global fw_next_arg1
/*
* We can only use a0, a1, and a2 registers here.
@@ -102,14 +85,6 @@ fw_options:
add a0, zero, zero
ret
-#ifdef FW_PAYLOAD_FDT_PATH
- .section .text, "ax", %progbits
- .align 4
- .globl fdt_bin
-fdt_bin:
- .incbin FW_PAYLOAD_FDT_PATH
-#endif
-
.section .payload, "ax", %progbits
.align 4
.globl payload_bin