diff mbox

[4/6,RFC] arm64: Add new Renesas R-Car Gen3 SoC Kconfig

Message ID 87zj41vaja.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Kuninori Morimoto June 15, 2015, 4:54 a.m. UTC
From: Gaku Inami <gaku.inami.xw@bp.renesas.com>

Initial version of device tree for Renesas R-Car Gen3 SoC Kconfig

Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm64/Kconfig           | 13 +++++++++++++
 arch/arm64/boot/dts/Makefile |  1 +
 2 files changed, 14 insertions(+)

Comments

Geert Uytterhoeven June 15, 2015, 8:09 a.m. UTC | #1
Hi Morimoto-san, Inami-san,

On Mon, Jun 15, 2015 at 6:54 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> From: Gaku Inami <gaku.inami.xw@bp.renesas.com>
>
> Initial version of device tree for Renesas R-Car Gen3 SoC Kconfig
>
> Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  arch/arm64/Kconfig           | 13 +++++++++++++
>  arch/arm64/boot/dts/Makefile |  1 +
>  2 files changed, 14 insertions(+)
>
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index 99930cf..3c93c03 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -154,6 +154,12 @@ config PGTABLE_LEVELS
>         default 3 if ARM64_4K_PAGES && ARM64_VA_BITS_39
>         default 4 if ARM64_4K_PAGES && ARM64_VA_BITS_48
>
> +config ARCH_SHMOBILE
> +       bool
> +
> +config ARCH_SHMOBILE_MULTI
> +       bool
> +

Please drop ARCH_SHMOBILE_MULTI.
I don't think we're gonna need a distinction between legacy and
multiplatform on arm64 :-)

Ah, probably you need this to build properly various pieces of code under
drivers/? One more reason to get rid of ARCH_SHMOBILE_LEGACY soon...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" 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 99930cf..3c93c03 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -154,6 +154,12 @@  config PGTABLE_LEVELS
 	default 3 if ARM64_4K_PAGES && ARM64_VA_BITS_39
 	default 4 if ARM64_4K_PAGES && ARM64_VA_BITS_48
 
+config ARCH_SHMOBILE
+	bool
+
+config ARCH_SHMOBILE_MULTI
+	bool
+
 source "init/Kconfig"
 
 source "kernel/Kconfig.freezer"
@@ -195,6 +201,13 @@  config ARCH_QCOM
 	help
 	  This enables support for the ARMv8 based Qualcomm chipsets.
 
+config ARCH_RCAR_GEN3
+	bool "Renesas R-Car Gen3 SoC Platform"
+	select ARCH_SHMOBILE
+	select ARCH_SHMOBILE_MULTI
+	help
+	  This enables support for Renesas SoC.
+
 config ARCH_SEATTLE
 	bool "AMD Seattle SoC Family"
 	help
diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile
index ad26a75..d10f8ff 100644
--- a/arch/arm64/boot/dts/Makefile
+++ b/arch/arm64/boot/dts/Makefile
@@ -6,6 +6,7 @@  dts-dirs += exynos
 dts-dirs += freescale
 dts-dirs += mediatek
 dts-dirs += qcom
+dts-dirs += renesas
 dts-dirs += sprd
 dts-dirs += xilinx