]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Fix BUILTIN_DTB for sifive and microchip soc
authorAlexandre Ghiti <alex@ghiti.fr>
Fri, 4 Jun 2021 12:06:39 +0000 (14:06 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 12 Jun 2021 04:07:09 +0000 (21:07 -0700)
commitf5fdf23f1743d909d945a1d489ca88ad10c87da1
tree96346b3f3a875e4f9179479a969108085a4983ac
parentf3c71fcb0ea6db778a29bb529a28d2f6dea02816
riscv: Fix BUILTIN_DTB for sifive and microchip soc

Fix BUILTIN_DTB config which resulted in a dtb that was actually not
built into the Linux image: in the same manner as Canaan soc does,
create an object file from the dtb file that will get linked into the
Linux image.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/boot/dts/microchip/Makefile
arch/riscv/boot/dts/sifive/Makefile