• Jonas Gorski's avatar
    MIPS: Add support for vmlinux.bin appended dtb · 1da8f179
    Jonas Gorski authored
    Add support for detecting a vmlinux.bin appended dtb and overriding
    the boot arguments to match the UHI interface.
    
    Due to the PERCPU section being empty for !SMP, but still modifying
    the current address by aligning it to the page size, do not define
    it for !SMP builds to allow __appended_dtb to still point to
    the actual end of the data.
    Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: John Crispin <blogic@openwrt.org>
    Cc: Kevin Cernekee <cernekee@gmail.com>
    Cc: Florian Fainelli <f.fainelli@gmail.com>
    Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
    Cc: Markos Chandras <markos.chandras@imgtec.com>
    Cc: Andrew Bresticker <abrestic@chromium.org>
    Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
    Cc: Paul Burton <paul.burton@imgtec.com>
    Cc: James Hartley <James.Hartley@imgtec.com>
    Patchwork: https://patchwork.linux-mips.org/patch/9739/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    1da8f179
vmlinux.lds.S 3.84 KB