Re: [patches] [PATCH] RISC-V: Support built-in dtb

2017-12-21 Thread Palmer Dabbelt
On Thu, 21 Dec 2017 12:43:20 PST (-0800), Arnd Bergmann wrote: On Thu, Dec 21, 2017 at 9:32 PM, Palmer Dabbelt wrote: On Wed, 20 Dec 2017 01:14:31 PST (-0800), zong...@gmail.com wrote: I've added Arnd and Olof, in case they have a bit more perspective here. If I'm reading this correctly, th

Re: [patches] [PATCH] RISC-V: Support built-in dtb

2017-12-21 Thread Arnd Bergmann
On Thu, Dec 21, 2017 at 9:32 PM, Palmer Dabbelt wrote: > On Wed, 20 Dec 2017 01:14:31 PST (-0800), zong...@gmail.com wrote: > I've added Arnd and Olof, in case they have a bit more perspective here. If > I'm reading this correctly, there isn't an arm or arm64 option to do this. > There is an opt

Re: [patches] [PATCH] RISC-V: Support built-in dtb

2017-12-21 Thread Palmer Dabbelt
On Wed, 20 Dec 2017 01:14:31 PST (-0800), zong...@gmail.com wrote: Build the dtb into the kernel image. If the DTB is given via bootloader, the external DTB is adopted first. Signed-off-by: Zong Li --- arch/riscv/Kconfig | 4 arch/riscv/Makefile | 9 + arch/ri

[PATCH] RISC-V: Support built-in dtb

2017-12-20 Thread Zong Li
Build the dtb into the kernel image. If the DTB is given via bootloader, the external DTB is adopted first. Signed-off-by: Zong Li --- arch/riscv/Kconfig | 4 arch/riscv/Makefile | 9 + arch/riscv/boot/Makefile | 17 + arch/riscv/boot/dts/Mak

[PATCH] RISC-V: Support built-in dtb

2017-12-19 Thread Zong Li
Build the dtb into the kernel image. If the DTB is given via bootloader, the external DTB is adopted first. Signed-off-by: Zong Li --- arch/riscv/Kconfig | 4 arch/riscv/Makefile | 9 + arch/riscv/boot/Makefile | 17 + arch/riscv/boot/dts/Mak