diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-08 15:07:42 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-08 15:07:42 -0400 |
commit | 71f2c153755442c05d15cd025484f676a5f3541f (patch) | |
tree | fe48af6ddc33da7a0aaf1a16ed9feeafa4a8e1e1 /arch/arm/Kconfig | |
parent | 8efc59ad6764ade520012cb192cd484e5191cd9c (diff) | |
parent | c825dda905bac330c2da7fabdf5c0ac28758b3cd (diff) |
Merge branch 'depends/rmk/devel-stable' into next/cleanup
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9f1ff5c94bef..2ad79b288b69 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -29,6 +29,7 @@ config ARM | |||
29 | select HAVE_GENERIC_HARDIRQS | 29 | select HAVE_GENERIC_HARDIRQS |
30 | select HAVE_SPARSE_IRQ | 30 | select HAVE_SPARSE_IRQ |
31 | select GENERIC_IRQ_SHOW | 31 | select GENERIC_IRQ_SHOW |
32 | select CPU_PM if (SUSPEND || CPU_IDLE) | ||
32 | help | 33 | help |
33 | The ARM series is a line of low-power-consumption RISC chip designs | 34 | The ARM series is a line of low-power-consumption RISC chip designs |
34 | licensed by ARM Ltd and targeted at embedded applications and | 35 | licensed by ARM Ltd and targeted at embedded applications and |
@@ -1794,6 +1795,38 @@ config ZBOOT_ROM_SH_MOBILE_SDHI | |||
1794 | 1795 | ||
1795 | endchoice | 1796 | endchoice |
1796 | 1797 | ||
1798 | config ARM_APPENDED_DTB | ||
1799 | bool "Use appended device tree blob to zImage (EXPERIMENTAL)" | ||
1800 | depends on OF && !ZBOOT_ROM && EXPERIMENTAL | ||
1801 | help | ||
1802 | With this option, the boot code will look for a device tree binary | ||
1803 | (DTB) appended to zImage | ||
1804 | (e.g. cat zImage <filename>.dtb > zImage_w_dtb). | ||
1805 | |||
1806 | This is meant as a backward compatibility convenience for those | ||
1807 | systems with a bootloader that can't be upgraded to accommodate | ||
1808 | the documented boot protocol using a device tree. | ||
1809 | |||
1810 | Beware that there is very little in terms of protection against | ||
1811 | this option being confused by leftover garbage in memory that might | ||
1812 | look like a DTB header after a reboot if no actual DTB is appended | ||
1813 | to zImage. Do not leave this option active in a production kernel | ||
1814 | if you don't intend to always append a DTB. Proper passing of the | ||
1815 | location into r2 of a bootloader provided DTB is always preferable | ||
1816 | to this option. | ||
1817 | |||
1818 | config ARM_ATAG_DTB_COMPAT | ||
1819 | bool "Supplement the appended DTB with traditional ATAG information" | ||
1820 | depends on ARM_APPENDED_DTB | ||
1821 | help | ||
1822 | Some old bootloaders can't be updated to a DTB capable one, yet | ||
1823 | they provide ATAGs with memory configuration, the ramdisk address, | ||
1824 | the kernel cmdline string, etc. Such information is dynamically | ||
1825 | provided by the bootloader and can't always be stored in a static | ||
1826 | DTB. To allow a device tree enabled kernel to be used with such | ||
1827 | bootloaders, this option allows zImage to extract the information | ||
1828 | from the ATAG list and store it at run time into the appended DTB. | ||
1829 | |||
1797 | config CMDLINE | 1830 | config CMDLINE |
1798 | string "Default kernel command string" | 1831 | string "Default kernel command string" |
1799 | default "" | 1832 | default "" |