[MIPS] Ranchu platform Appended DTB support
authorMiodrag Dinic <miodrag.dinic@imgtec.com>
Tue, 25 Nov 2014 17:31:30 +0000 (18:31 +0100)
committerRaghu Gandham <raghu.gandham@imgtec.com>
Tue, 2 Dec 2014 23:30:20 +0000 (15:30 -0800)
commit231425de6f3169ce99cd3a61a2c42a39f4d07dd3
treed1879aef6727eeba6e839a8df607d103ab17e0c7
parentfb4a93889a7757766eb951cbe6de8a941d565afd
[MIPS] Ranchu platform Appended DTB support

With CONFIG_MIPS_APPENDED_DTB=y option enabled, the boot code
will look for a device tree binary (dtb) appended to raw
vmlinux.bin (without decompressor).
(e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb).

Beware that there is very little in terms of protection against
this option being confused by leftover garbage in memory that might
look like a DTB header after a reboot if no actual DTB is appended
to vmlinux.bin.

Change-Id: Ia1d7e0e4fe3848385b84cb06b04ea480897946f9
Reviewed-on: https://mipsia.review.mips.com/2860
Reviewed-by: Raghu Gandham <raghu.gandham@imgtec.com>
Tested-by: Raghu Gandham <raghu.gandham@imgtec.com>
arch/mips/Kconfig
arch/mips/goldfish/Makefile
arch/mips/goldfish/goldfish-platform.c
arch/mips/include/asm/mips-boards/generic.h
arch/mips/kernel/head.S
arch/mips/kernel/prom.c
arch/mips/kernel/vmlinux.lds.S