Message ID | 1394491879-5320-3-git-send-email-kgene.kim@samsung.com |
---|---|
State | New |
Headers | show |
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.
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
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(+)