diff options
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5ebc5d922ea1..c66e0808c2b1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1781,6 +1781,26 @@ config ZBOOT_ROM_SH_MOBILE_SDHI | |||
1781 | 1781 | ||
1782 | endchoice | 1782 | endchoice |
1783 | 1783 | ||
1784 | config ARM_APPENDED_DTB | ||
1785 | bool "Use appended device tree blob to zImage (EXPERIMENTAL)" | ||
1786 | depends on OF && !ZBOOT_ROM && EXPERIMENTAL | ||
1787 | help | ||
1788 | With this option, the boot code will look for a device tree binary | ||
1789 | (DTB) appended to zImage | ||
1790 | (e.g. cat zImage <filename>.dtb > zImage_w_dtb). | ||
1791 | |||
1792 | This is meant as a backward compatibility convenience for those | ||
1793 | systems with a bootloader that can't be upgraded to accommodate | ||
1794 | the documented boot protocol using a device tree. | ||
1795 | |||
1796 | Beware that there is very little in terms of protection against | ||
1797 | this option being confused by leftover garbage in memory that might | ||
1798 | look like a DTB header after a reboot if no actual DTB is appended | ||
1799 | to zImage. Do not leave this option active in a production kernel | ||
1800 | if you don't intend to always append a DTB. Proper passing of the | ||
1801 | location into r2 of a bootloader provided DTB is always preferable | ||
1802 | to this option. | ||
1803 | |||
1784 | config CMDLINE | 1804 | config CMDLINE |
1785 | string "Default kernel command string" | 1805 | string "Default kernel command string" |
1786 | default "" | 1806 | default "" |