[PATCH 2/2] ARM: allow for ATAGS to be configured out when DT support is selected

Will Deacon will.deacon at arm.com
Mon Sep 3 01:54:49 EST 2012


On Thu, Aug 30, 2012 at 10:10:08PM +0100, Nicolas Pitre wrote:
> 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 at linaro.org>
> ---
>  arch/arm/Kconfig         | 26 +++++++++++++++++++-------
>  arch/arm/kernel/Makefile |  5 +++--
>  arch/arm/kernel/atags.h  | 11 +++++++++++
>  3 files changed, 33 insertions(+), 9 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index c5f9ae5dbd..5c7302e208 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1891,12 +1891,6 @@ config CC_STACKPROTECTOR
>  	  neutralized via a kernel panic.
>  	  This feature requires gcc version 4.2 or above.
>  
> -config DEPRECATED_PARAM_STRUCT
> -	bool "Provide old way to pass kernel parameters"
> -	help
> -	  This was deprecated in 2001 and announced to live on for 5 years.
> -	  Some old boot loaders still use this way.
> -
>  endmenu

Since you're in this area, do we need to carry this forward? If somebody is
using it then obviously we have to keep it but it might be worth asking
around.

Back on topic, this looks good to me:

Acked-by: Will Deacon <will.deacon at arm.com>

Will


More information about the devicetree-discuss mailing list