]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: vmlinux: create a section for appended DTB
authorAaro Koskinen <aaro.koskinen@nokia.com>
Fri, 11 Sep 2015 14:46:14 +0000 (17:46 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 12 Nov 2015 10:35:48 +0000 (11:35 +0100)
commitde5edfa2d1bf4fab0b4af7b7398fcae538436119
tree68332abad3fa7ec4f239dbad95cd65756a685fe6
parentbf2df5619f23e9ebfe2924f5c9d658c521bf35cb
MIPS: vmlinux: create a section for appended DTB

For bootloaders that support booting only ELF kernels and load only ELF
segments to memory there is no easy way to supply DTB without kernel
recompilation. For that purpose, create a section called .appended_dtb
that can be later updated with board-specific DTB using binutils e.g. at
kernel installation time.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11114/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/setup.c
arch/mips/kernel/vmlinux.lds.S