summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2020-02-03 09:53:41 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-03 09:18:51 +0100
commit6d7945380f1553ef90923c6b204c440fd331dab9 (patch)
tree12202c022c7ebd2e77786b9a5783dd6689ac7f49 /arch/riscv
parentc622c8be4ee14454bc3590735af8be6ca5e989fe (diff)
downloadbarebox-6d7945380f1553ef90923c6b204c440fd331dab9.tar.gz
barebox-6d7945380f1553ef90923c6b204c440fd331dab9.tar.xz
RISC-V: unbreak built-in dtb
The commit c5d38e92010174 ("lds: Add and use RO_DATA_SECTION macro") consolidates all RO sections link script declaration in the single RO_DATA_SECTION macro. So all all individual RO section declarations have to be removed from per-arch linker scripts. Alas the BAREBOX_CLK_TABLE and the BAREBOX_DTB link script sections were not removed from RISC-V linker script making these sections declared twice. As a result incorrect __clk_of_table_start and __dtb_start addresses are passed to the barebox code therefore the RISC-V barebox is completely unusable. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/lib/barebox.lds.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/riscv/lib/barebox.lds.S b/arch/riscv/lib/barebox.lds.S
index 5149f8ce28..342769890b 100644
--- a/arch/riscv/lib/barebox.lds.S
+++ b/arch/riscv/lib/barebox.lds.S
@@ -48,10 +48,6 @@ SECTIONS
.rela.dyn : { *(.rela*) }
- .oftables : { BAREBOX_CLK_TABLE }
-
- .dtb : { BAREBOX_DTB }
-
_edata = .;
. = ALIGN(8);
__bss_start = .;