aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2012-08-31 22:03:25 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-09-03 17:56:15 -0400
commitbd51e2f595580fb64bd8494badef746c4d626b25 (patch)
tree10c74fd5723a6033356caa48345da70116b86bc4 /arch/arm/Kconfig
parentaa783b6fd60b3844e199b1c2d2f4068f3caa1358 (diff)
ARM: 7506/1: allow for ATAGS to be configured out when DT support is selected
Now that ATAGS support is well contained, we can easily remove it from the kernel build if so desired. It has to explicitly be disabled, and only when DT support is selected. Note: disabling kernel ATAGS support does not prevent the usage of CONFIG_ARM_ATAG_DTB_COMPAT. Signed-off-by: Nicolas Pitre <nico@linaro.org> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig26
1 files changed, 19 insertions, 7 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c5f9ae5dbd1..5c7302e208c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1891,12 +1891,6 @@ config CC_STACKPROTECTOR
1891 neutralized via a kernel panic. 1891 neutralized via a kernel panic.
1892 This feature requires gcc version 4.2 or above. 1892 This feature requires gcc version 4.2 or above.
1893 1893
1894config DEPRECATED_PARAM_STRUCT
1895 bool "Provide old way to pass kernel parameters"
1896 help
1897 This was deprecated in 2001 and announced to live on for 5 years.
1898 Some old boot loaders still use this way.
1899
1900endmenu 1894endmenu
1901 1895
1902menu "Boot options" 1896menu "Boot options"
@@ -1909,6 +1903,23 @@ config USE_OF
1909 help 1903 help
1910 Include support for flattened device tree machine descriptions. 1904 Include support for flattened device tree machine descriptions.
1911 1905
1906config ATAGS
1907 bool "Support for the traditional ATAGS boot data passing" if USE_OF
1908 default y
1909 help
1910 This is the traditional way of passing data to the kernel at boot
1911 time. If you are solely relying on the flattened device tree (or
1912 the ARM_ATAG_DTB_COMPAT option) then you may unselect this option
1913 to remove ATAGS support from your kernel binary. If unsure,
1914 leave this to y.
1915
1916config DEPRECATED_PARAM_STRUCT
1917 bool "Provide old way to pass kernel parameters"
1918 depends on ATAGS
1919 help
1920 This was deprecated in 2001 and announced to live on for 5 years.
1921 Some old boot loaders still use this way.
1922
1912# Compressed boot loader in ROM. Yes, we really want to ask about 1923# Compressed boot loader in ROM. Yes, we really want to ask about
1913# TEXT and BSS so we preserve their values in the config files. 1924# TEXT and BSS so we preserve their values in the config files.
1914config ZBOOT_ROM_TEXT 1925config ZBOOT_ROM_TEXT
@@ -2035,6 +2046,7 @@ config CMDLINE
2035choice 2046choice
2036 prompt "Kernel command line type" if CMDLINE != "" 2047 prompt "Kernel command line type" if CMDLINE != ""
2037 default CMDLINE_FROM_BOOTLOADER 2048 default CMDLINE_FROM_BOOTLOADER
2049 depends on ATAGS
2038 2050
2039config CMDLINE_FROM_BOOTLOADER 2051config CMDLINE_FROM_BOOTLOADER
2040 bool "Use bootloader kernel arguments if available" 2052 bool "Use bootloader kernel arguments if available"
@@ -2104,7 +2116,7 @@ config KEXEC
2104 2116
2105config ATAGS_PROC 2117config ATAGS_PROC
2106 bool "Export atags in procfs" 2118 bool "Export atags in procfs"
2107 depends on KEXEC 2119 depends on ATAGS && KEXEC
2108 default y 2120 default y
2109 help 2121 help
2110 Should the atags used to boot the kernel be exported in an "atags" 2122 Should the atags used to boot the kernel be exported in an "atags"