diff mbox

[1/8] ARM64: Enable Amlogic Meson GXBaby platform

Message ID 1456789465-2962-2-git-send-email-afaerber@suse.de
State New
Headers show

Commit Message

Andreas Färber Feb. 29, 2016, 11:44 p.m. UTC
Provide the ARCH_MESON Kconfig symbol to allow enabling existing serial
and i2c drivers.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 arch/arm64/Kconfig.platforms | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Sudeep Holla March 1, 2016, 2:43 p.m. UTC | #1
On 29/02/16 23:44, Andreas Färber wrote:
> Provide the ARCH_MESON Kconfig symbol to allow enabling existing serial
> and i2c drivers.
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>   arch/arm64/Kconfig.platforms | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index a0a69589e46c..17d0ddaa0516 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -56,6 +56,12 @@ config ARCH_MEDIATEK
>   	help
>   	  Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
>
> +config ARCH_MESON
> +	bool "Amlogic Platforms"
> +	select ARM_GIC

Why do you need this ? CONFIG_ARM64 selects GIC for you.
Andreas Färber March 1, 2016, 3:26 p.m. UTC | #2
Am 01.03.2016 um 15:43 schrieb Sudeep Holla:
> On 29/02/16 23:44, Andreas Färber wrote:
>> Provide the ARCH_MESON Kconfig symbol to allow enabling existing serial
>> and i2c drivers.
>>
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
>>   arch/arm64/Kconfig.platforms | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
>> index a0a69589e46c..17d0ddaa0516 100644
>> --- a/arch/arm64/Kconfig.platforms
>> +++ b/arch/arm64/Kconfig.platforms
>> @@ -56,6 +56,12 @@ config ARCH_MEDIATEK
>>       help
>>         Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
>>
>> +config ARCH_MESON
>> +    bool "Amlogic Platforms"
>> +    select ARM_GIC
> 
> Why do you need this ? CONFIG_ARM64 selects GIC for you.

ARCH_MEDIATEK above does and should be fixed too then.

I only need ARCH_MESON itself, I guess.

Regards,
Andreas
Sudeep Holla March 1, 2016, 4:07 p.m. UTC | #3
On 01/03/16 15:26, Andreas Färber wrote:
> Am 01.03.2016 um 15:43 schrieb Sudeep Holla:
>> On 29/02/16 23:44, Andreas Färber wrote:
>>> Provide the ARCH_MESON Kconfig symbol to allow enabling existing serial
>>> and i2c drivers.
>>>
>>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>>> ---
>>>    arch/arm64/Kconfig.platforms | 6 ++++++
>>>    1 file changed, 6 insertions(+)
>>>
>>> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
>>> index a0a69589e46c..17d0ddaa0516 100644
>>> --- a/arch/arm64/Kconfig.platforms
>>> +++ b/arch/arm64/Kconfig.platforms
>>> @@ -56,6 +56,12 @@ config ARCH_MEDIATEK
>>>        help
>>>          Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
>>>
>>> +config ARCH_MESON
>>> +    bool "Amlogic Platforms"
>>> +    select ARM_GIC
>>
>> Why do you need this ? CONFIG_ARM64 selects GIC for you.
>
> ARCH_MEDIATEK above does and should be fixed too then.

Yes I did see that when I checked before replying to you and assumed you
might have taken it as reference as it's just above this entry :)
diff mbox

Patch

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index a0a69589e46c..17d0ddaa0516 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -56,6 +56,12 @@  config ARCH_MEDIATEK
 	help
 	  Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
 
+config ARCH_MESON
+	bool "Amlogic Platforms"
+	select ARM_GIC
+	help
+	  This enables support for the S905 SoCs
+
 config ARCH_MVEBU
 	bool "Marvell EBU SoC Family"
 	select ARMADA_AP806_CORE_CLK