Message ID | 1392100183-30930-3-git-send-email-kgene.kim@samsung.com |
---|---|
State | New |
Headers | show |
On Tue, Feb 11, 2014 at 11:39:27PM +0000, Olof Johansson wrote: > On Mon, Feb 10, 2014 at 10:29 PM, Kukjin Kim <kgene.kim@samsung.com> wrote: > > This patch adds support for Samsung GH7 SoC in arm64/Kconfig. > > > > Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> > > Cc: Catalin Marinas <catalin.marinas@arm.com> > > The overhead of building one more device tree isn't very large, and I > don't see any other need to have a Kconfig entry per SoC at this time. > It's of course up to Catalin, but you might just want to always > compile all dts files instead. For arm64, I thought of getting rid of ARCH_* Kconfig entries entirely, only that I haven't heard any strong opinion either way (in which case I'll do it, with a risk of single Image getting bigger and bigger and people needing smaller Image can trim their .config).
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index dd4327f..7d71823 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -111,6 +111,11 @@ source "kernel/Kconfig.freezer" menu "Platform selection" +config ARCH_GH7 + bool "Samsung ARMv8 GH7 SoC" + help + This enables support for Samsung GH7 SoC + 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
This patch adds support for Samsung GH7 SoC in arm64/Kconfig. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Cc: Catalin Marinas <catalin.marinas@arm.com> --- arch/arm64/Kconfig | 5 +++++ arch/arm64/boot/dts/Makefile | 1 + 2 files changed, 6 insertions(+)