buildroot/boot/opensbi
Drew Fustini 4210b26892 boot/opensbi: introduce BR2_TARGET_OPENSBI_FW_FDT_PATH
If U-Boot CONFIG_OF_SEPARATE is defined [1], then the device tree will
be built and placed in a u-boot.dtb file alongside u-boot.bin.

When BR2_TARGET_UBOOT_FORMAT_DTB is enabled, buildroot will copy
u-boot.dtb to $(BINARIES_DIR).

This is useful for RISC-V platforms that want to build OpenSBI with an
external DTB by using FW_FDT_PATH [2].

[1] https://github.com/u-boot/u-boot/blob/master/doc/README.fdt-control
[2] https://github.com/riscv/opensbi/blob/master/docs/firmware/fw.md

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Drew Fustini <drew@beagleboard.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-18 21:24:37 +02:00
..
0.9 boot/opensbi: move patches to 0.9/ subdir to only apply when the 0.9 version is selected 2021-05-13 09:48:24 +02:00
Config.in boot/opensbi: introduce BR2_TARGET_OPENSBI_FW_FDT_PATH 2021-07-18 21:24:37 +02:00
opensbi.hash boot/opensbi: bump to version 0.9 2021-05-10 09:00:33 +02:00
opensbi.mk boot/opensbi: introduce BR2_TARGET_OPENSBI_FW_FDT_PATH 2021-07-18 21:24:37 +02:00