diff mbox

[v2,2/3] arm64: defconfig: Enable ARCH_GH7 by default

Message ID 1394491879-5320-3-git-send-email-kgene.kim@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kim Kukjin March 10, 2014, 10:51 p.m. UTC
This patch adds support for Samsung GH7 SoC in arm64/Kconfig and
enable Samsung GH7 based SSDK_GH7 in single defconfig for arm64.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
---
 arch/arm64/Kconfig           | 3 +++
 arch/arm64/boot/dts/Makefile | 1 +
 arch/arm64/configs/defconfig | 1 +
 3 files changed, 5 insertions(+)

Comments

Catalin Marinas March 11, 2014, 12:01 p.m. UTC | #1
On Mon, Mar 10, 2014 at 10:51:18PM +0000, Kukjin Kim wrote:
> This patch adds support for Samsung GH7 SoC in arm64/Kconfig and
> enable Samsung GH7 based SSDK_GH7 in single defconfig for arm64.
> 
> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> ---
>  arch/arm64/Kconfig           | 3 +++
>  arch/arm64/boot/dts/Makefile | 1 +
>  arch/arm64/configs/defconfig | 1 +
>  3 files changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index dd4327f..f0f2bf2 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -111,6 +111,9 @@ source "kernel/Kconfig.freezer"
>  
>  menu "Platform selection"
>  
> +config ARCH_GH7
> +	bool

You should add some text here so that people can disable it. The aim is
single Image by default but I think we should let people disable certain
platforms for more targeted deployments.
Kim Kukjin March 11, 2014, 10:45 p.m. UTC | #2
On 03/11/14 21:01, Catalin Marinas wrote:
> On Mon, Mar 10, 2014 at 10:51:18PM +0000, Kukjin Kim wrote:
>> This patch adds support for Samsung GH7 SoC in arm64/Kconfig and
>> enable Samsung GH7 based SSDK_GH7 in single defconfig for arm64.
>>
>> Signed-off-by: Kukjin Kim<kgene.kim@samsung.com>
>> Cc: Catalin Marinas<catalin.marinas@arm.com>
>> ---
>>   arch/arm64/Kconfig           | 3 +++
>>   arch/arm64/boot/dts/Makefile | 1 +
>>   arch/arm64/configs/defconfig | 1 +
>>   3 files changed, 5 insertions(+)
>>
>> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
>> index dd4327f..f0f2bf2 100644
>> --- a/arch/arm64/Kconfig
>> +++ b/arch/arm64/Kconfig
>> @@ -111,6 +111,9 @@ source "kernel/Kconfig.freezer"
>>
>>   menu "Platform selection"
>>
>> +config ARCH_GH7
>> +	bool
>
> You should add some text here so that people can disable it. The aim is
> single Image by default but I think we should let people disable certain
> platforms for more targeted deployments.
>
OK, I'll add and re-submit with Cc'ing dt mailing list.

Thanks,
Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index dd4327f..f0f2bf2 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -111,6 +111,9 @@  source "kernel/Kconfig.freezer"
 
 menu "Platform selection"
 
+config ARCH_GH7
+	bool
+
 config ARCH_VEXPRESS
 	bool "ARMv8 software model (Versatile Express)"
 	select ARCH_REQUIRE_GPIOLIB
diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile
index c52bdb0..54fb0cf 100644
--- a/arch/arm64/boot/dts/Makefile
+++ b/arch/arm64/boot/dts/Makefile
@@ -1,3 +1,4 @@ 
+dtb-$(CONFIG_ARCH_GH7) += samsung-ssdk-gh7.dtb
 dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb foundation-v8.dtb
 dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb
 
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 84139be..d683890 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -23,6 +23,7 @@  CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 # CONFIG_BLK_DEV_BSG is not set
 # CONFIG_IOSCHED_DEADLINE is not set
+CONFIG_ARCH_GH7=y
 CONFIG_ARCH_VEXPRESS=y
 CONFIG_ARCH_XGENE=y
 CONFIG_SMP=y