lkml.org 
[lkml]   [2014]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 8/8] ARM: mediatek: Add config option for mediatek SoCs.
From
2014-10-22 12:29 GMT+02:00 Joe.C <yingjoe.chen@mediatek.com>:
> From: "Joe.C" <yingjoe.chen@mediatek.com>
>
> Add config options for ARCH_MT6589, ARCH_MT8127, ARCH_MT8135. The
> upcoming pinctrl, clk drivers need to isolate SoCs support base on
> these options.
>
> Signed-off-by: Joe.C <yingjoe.chen@mediatek.com>
> ---
> arch/arm/mach-mediatek/Kconfig | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
> index 2c043a2..25fe6cf 100644
> --- a/arch/arm/mach-mediatek/Kconfig
> +++ b/arch/arm/mach-mediatek/Kconfig
> @@ -1,6 +1,22 @@
> -config ARCH_MEDIATEK
> - bool "Mediatek MT6589 SoC" if ARCH_MULTI_V7
> +menuconfig ARCH_MEDIATEK
> + bool "Mediatek MT65xx & MT81xx SoC" if ARCH_MULTI_V7
> select ARM_GIC
> select MTK_TIMER
> help
> - Support for Mediatek Cortex-A7 Quad-Core-SoC MT6589.
> + Support for Mediatek MT65xx & MT81xx SoCs
> +
> +if ARCH_MEDIATEK
> +
> +config MACH_MT6589
> + bool "MediaTek MT6589 SoCs support"
> + default ARCH_MEDIATEK
> +
> +config MACH_MT8127
> + bool "MediaTek MT8127 SoCs support"
> + default ARCH_MEDIATEK
> +
> +config MACH_MT8135
> + bool "MediaTek MT8135 SoCs support"
> + default ARCH_MEDIATEK
> +
> +endif

MACH_MTxxxx are not used nowhere, please remove them.

> --
> 1.8.1.1.dirty
>



--
motzblog.wordpress.com


\
 
 \ /
  Last update: 2014-10-22 15:41    [W:0.072 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site