aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3269576dbfa8..5a3a78633177 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1793,6 +1793,38 @@ config ZBOOT_ROM_SH_MOBILE_SDHI
1793 1793
1794endchoice 1794endchoice
1795 1795
1796config ARM_APPENDED_DTB
1797 bool "Use appended device tree blob to zImage (EXPERIMENTAL)"
1798 depends on OF && !ZBOOT_ROM && EXPERIMENTAL
1799 help
1800 With this option, the boot code will look for a device tree binary
1801 (DTB) appended to zImage
1802 (e.g. cat zImage <filename>.dtb > zImage_w_dtb).
1803
1804 This is meant as a backward compatibility convenience for those
1805 systems with a bootloader that can't be upgraded to accommodate
1806 the documented boot protocol using a device tree.
1807
1808 Beware that there is very little in terms of protection against
1809 this option being confused by leftover garbage in memory that might
1810 look like a DTB header after a reboot if no actual DTB is appended
1811 to zImage. Do not leave this option active in a production kernel
1812 if you don't intend to always append a DTB. Proper passing of the
1813 location into r2 of a bootloader provided DTB is always preferable
1814 to this option.
1815
1816config ARM_ATAG_DTB_COMPAT
1817 bool "Supplement the appended DTB with traditional ATAG information"
1818 depends on ARM_APPENDED_DTB
1819 help
1820 Some old bootloaders can't be updated to a DTB capable one, yet
1821 they provide ATAGs with memory configuration, the ramdisk address,
1822 the kernel cmdline string, etc. Such information is dynamically
1823 provided by the bootloader and can't always be stored in a static
1824 DTB. To allow a device tree enabled kernel to be used with such
1825 bootloaders, this option allows zImage to extract the information
1826 from the ATAG list and store it at run time into the appended DTB.
1827
1796config CMDLINE 1828config CMDLINE
1797 string "Default kernel command string" 1829 string "Default kernel command string"
1798 default "" 1830 default ""