riscv: Remove OF_PRIOR_STAGE from RISC-V boards
At some point back in 2018 prior_stage_fdt_address and OF_PRIOR_STAGE got introduced, in order to support a DTB handed over by an earlier stage boo loader. However we have another option in the Kconfig (OF_BOARD) which has identical semantics. On RISC-V some of the boards pick up the DTB from a1 and copy it in their private gd_t. Apart from that they copy it to prior_stage_fdt_address, if the Kconfig option is selected, which is unnecessary. So let's switch the config option for those boards to OF_BOARD and define the required board_fdt_blob_setup() for them. Signed-off-by:Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
Showing
- arch/riscv/cpu/cpu.c 0 additions, 3 deletionsarch/riscv/cpu/cpu.c
- arch/riscv/cpu/start.S 0 additions, 5 deletionsarch/riscv/cpu/start.S
- arch/riscv/dts/binman.dtsi 3 additions, 3 deletionsarch/riscv/dts/binman.dtsi
- board/AndesTech/ax25-ae350/ax25-ae350.c 6 additions, 1 deletionboard/AndesTech/ax25-ae350/ax25-ae350.c
- board/emulation/qemu-riscv/qemu-riscv.c 8 additions, 0 deletionsboard/emulation/qemu-riscv/qemu-riscv.c
- configs/ae350_rv32_defconfig 1 addition, 1 deletionconfigs/ae350_rv32_defconfig
- configs/ae350_rv32_spl_defconfig 1 addition, 1 deletionconfigs/ae350_rv32_spl_defconfig
- configs/ae350_rv64_defconfig 1 addition, 1 deletionconfigs/ae350_rv64_defconfig
- configs/ae350_rv64_spl_defconfig 1 addition, 1 deletionconfigs/ae350_rv64_spl_defconfig
- configs/qemu-riscv32_defconfig 1 addition, 1 deletionconfigs/qemu-riscv32_defconfig
- configs/qemu-riscv32_smode_defconfig 1 addition, 1 deletionconfigs/qemu-riscv32_smode_defconfig
- configs/qemu-riscv32_spl_defconfig 1 addition, 1 deletionconfigs/qemu-riscv32_spl_defconfig
- configs/qemu-riscv64_defconfig 1 addition, 1 deletionconfigs/qemu-riscv64_defconfig
- configs/qemu-riscv64_smode_defconfig 1 addition, 1 deletionconfigs/qemu-riscv64_smode_defconfig
- configs/qemu-riscv64_spl_defconfig 1 addition, 1 deletionconfigs/qemu-riscv64_spl_defconfig
- dts/Kconfig 1 addition, 1 deletiondts/Kconfig
Loading
Please register or sign in to comment