summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2018-12-21 12:15:14 +0300
committerAnup Patel <anup@brainfault.org>2018-12-21 12:34:21 +0300
commit4e15d79419a63c8bd08045fab8f15d2daa3bb353 (patch)
tree92442bb4b3405b95bd283327210a7adfaf5560f7 /firmware
parenta18913200a34c6da44c634578214db7830cdd036 (diff)
downloadopensbi-4e15d79419a63c8bd08045fab8f15d2daa3bb353.tar.xz
Revert "Fix FDT relocation"
This patch reverts "Fix FDT relocation" because it breaks fw_jump firmware. Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'firmware')
-rw-r--r--firmware/fw_common.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/fw_common.S b/firmware/fw_common.S
index d7074f8..b5e1f90 100644
--- a/firmware/fw_common.S
+++ b/firmware/fw_common.S
@@ -41,7 +41,6 @@ _bss_zero:
add a1, t1, zero
_prev_arg1_override_done:
-#ifdef FW_PAYLOAD_FDT_ADDR
/*
* Relocate Flatened Device Tree (FDT)
* source FDT address = previous arg1
@@ -100,7 +99,6 @@ _fdt_reloc_again:
add t1, t1, __SIZEOF_POINTER__
blt t1, t2, _fdt_reloc_again
_fdt_reloc_done:
-#endif
/* Update boot hart flag */
la a4, _boot_hart_done