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>
1 parent c622c8b commit 6d7945380f1553ef90923c6b204c440fd331dab9
@Antony Pavlov Antony Pavlov authored on 3 Feb 2020
Sascha Hauer committed on 3 Feb 2020
Showing 1 changed file
View
arch/riscv/lib/barebox.lds.S