From patchwork Thu Nov 30 23:06:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 843224 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nigauri-org.20150623.gappssmtp.com header.i=@nigauri-org.20150623.gappssmtp.com header.b="oxm1kQR+"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yntQ94hrTz9s8J for ; Fri, 1 Dec 2017 10:09:21 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 5ED85C21F22; Thu, 30 Nov 2017 23:08:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id BDE8DC21E01; Thu, 30 Nov 2017 23:07:58 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id EE237C21F03; Thu, 30 Nov 2017 23:07:31 +0000 (UTC) Received: from mail-pl0-f68.google.com (mail-pl0-f68.google.com [209.85.160.68]) by lists.denx.de (Postfix) with ESMTPS id AE43DC21E9B for ; Thu, 30 Nov 2017 23:07:25 +0000 (UTC) Received: by mail-pl0-f68.google.com with SMTP id f6so5176885pln.12 for ; Thu, 30 Nov 2017 15:07:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nigauri-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=F7o3Qzh8WurzM5T9RnkG3ytKFz9LlH7LSmeayQfKfdM=; b=oxm1kQR+3Ki7GkFTjNlDjTSHX25dBjnckbZtdwGHrbpS/+SKFszPFCZATKKP0nZ9bE oQStYifdo/S+Y/gBJP+bKxIVm0L1gDbmJeyV5cTC9zyrCO0kmgK4DJuWm9G5P1Ol6VfM iMVqZfWV0qhWCBqz03xS8tAfQDLWw3HMKOAjNpb5Xpc31MsCPK81lad7OvAYt6RpVnYi iDJbASXh53+n8UqWs9yH0VNxvZd0ho3kAVgZnDjJKpsEB57HDQ9XnQE3QJ7s3mtfvaHh jQdp2JCQscnfHjYmUBnqDHeQ3CksocTsGlnhW4MPj+lGZSOd/xvnIwQUn4R3QavnY6HC +SdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=F7o3Qzh8WurzM5T9RnkG3ytKFz9LlH7LSmeayQfKfdM=; b=n3f5lAdPtbXnxCZc71HBCyqHAqyANmFKNCY1wPH8yYmPVRpWHvuWBUM5mYIG5uTC/k gBtRbvtnuEqPIP9gtGTPhzBWVaVqqCziLKge8ZJIOYFr2ie5UCPQejt9D+sbwo1Z6yuv tvvdFKHEJaTU3EkhNOYnt0+gv709XZDD9pYBsZkBoo1GTcasl4NiiDOdWEc1caIwXAa8 pLEuSwy5+SQUbFrSc5hasgC23n6B03r3cjvyjV/a2D0AFa9BUAbo52PeSfwPE6ItsQeP HcC/0X20J2aptYDbLphhrv5NQXUHZCziwZ+2wpCp4UXgL8FJUxHPjPr5sPq9FuTKpNiM gZ5g== X-Gm-Message-State: AJaThX6nZ4datOvY+qhp6ZflCxnMIer+vKZD4K4XXgzCIteyBs42g2gH MlmKafnIX6CCh8CQ27r9IF90d0s= X-Google-Smtp-Source: AGs4zMbyCiGxSZKWu9sXallGp4/V2ocN1lAUGCTlqu83MugK88lKGIqBmu5onWN+Uh0hxjvfIZFWDw== X-Received: by 10.159.249.1 with SMTP id bf1mr4156843plb.401.1512083244183; Thu, 30 Nov 2017 15:07:24 -0800 (PST) Received: from chimu ([2405:6581:5360:1800:acc6:1cf0:e7a4:d7e8]) by smtp.gmail.com with ESMTPSA id t4sm8939600pfd.110.2017.11.30.15.07.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Nov 2017 15:07:23 -0800 (PST) Received: by chimu (sSMTP sendmail emulation); Fri, 01 Dec 2017 08:07:20 +0900 From: Nobuhiro Iwamatsu To: u-boot@lists.denx.de, Nobuhiro Iwamatsu Date: Fri, 1 Dec 2017 08:06:57 +0900 Message-Id: <20171130230657.14496-3-iwamatsu@nigauri.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171130230657.14496-1-iwamatsu@nigauri.org> References: <20171130230657.14496-1-iwamatsu@nigauri.org> Subject: [U-Boot] [PATCH 3/3] ARM: rmobile: Move config of SoCs to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.32 | 31 +++++++++++++++++++++++++++++++ include/configs/alt.h | 1 - include/configs/armadillo-800eva.h | 1 - include/configs/gose.h | 1 - include/configs/koelsch.h | 1 - include/configs/kzm9g.h | 1 - include/configs/lager.h | 1 - include/configs/porter.h | 1 - include/configs/silk.h | 1 - include/configs/stout.h | 1 - scripts/config_whitelist.txt | 7 ------- 11 files changed, 31 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-rmobile/Kconfig.32 b/arch/arm/mach-rmobile/Kconfig.32 index 89588aaf72..59844ab071 100644 --- a/arch/arm/mach-rmobile/Kconfig.32 +++ b/arch/arm/mach-rmobile/Kconfig.32 @@ -1,52 +1,83 @@ if RCAR_32 +config R8A7740 + bool + +config R8A7790 + bool + +config R8A7791 + bool + +config R8A7792 + bool + +config R8A7793 + bool + +config R8A7794 + bool + +config SH73A0 + bool + choice prompt "Renesus ARM SoCs board select" optional config TARGET_ARMADILLO_800EVA bool "armadillo 800 eva board" + select R8A7740 config TARGET_BLANCHE bool "Blanche board" + select R8A7792 select DM select DM_SERIAL config TARGET_GOSE bool "Gose board" + select R8A7793 select DM select DM_SERIAL config TARGET_KOELSCH bool "Koelsch board" + select R8A7791 select DM select DM_SERIAL config TARGET_LAGER bool "Lager board" + select R8A7790 select DM select DM_SERIAL config TARGET_KZM9G bool "KZM9D board" + select SH73A0 config TARGET_ALT bool "Alt board" + select R8A7794 select DM select DM_SERIAL config TARGET_SILK bool "Silk board" + select R8A7794 select DM select DM_SERIAL config TARGET_PORTER bool "Porter board" + select R8A7791 select DM select DM_SERIAL config TARGET_STOUT bool "Stout board" + select R8A7790 select DM select DM_SERIAL diff --git a/include/configs/alt.h b/include/configs/alt.h index d1bb984984..788368b959 100644 --- a/include/configs/alt.h +++ b/include/configs/alt.h @@ -11,7 +11,6 @@ #define __ALT_H #undef DEBUG -#define CONFIG_R8A7794 #include "rcar-gen2-common.h" diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h index ca058bf1a1..4686f879bf 100644 --- a/include/configs/armadillo-800eva.h +++ b/include/configs/armadillo-800eva.h @@ -10,7 +10,6 @@ #define __ARMADILLO_800EVA_H #undef DEBUG -#define CONFIG_R8A7740 #define CONFIG_SH_GPIO_PFC #include diff --git a/include/configs/gose.h b/include/configs/gose.h index 2f171d358b..4abd9777f9 100644 --- a/include/configs/gose.h +++ b/include/configs/gose.h @@ -10,7 +10,6 @@ #define __GOSE_H #undef DEBUG -#define CONFIG_R8A7793 #include "rcar-gen2-common.h" diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h index 89680b7c8d..d8a670c48d 100644 --- a/include/configs/koelsch.h +++ b/include/configs/koelsch.h @@ -10,7 +10,6 @@ #define __KOELSCH_H #undef DEBUG -#define CONFIG_R8A7791 #include "rcar-gen2-common.h" diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 25e2f79c92..aecea73a00 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -10,7 +10,6 @@ #undef DEBUG -#define CONFIG_SH73A0 #define CONFIG_KZM_A9_GT #define CONFIG_MACH_TYPE MACH_TYPE_KZM9G diff --git a/include/configs/lager.h b/include/configs/lager.h index f7ea95fce6..cb4c38027c 100644 --- a/include/configs/lager.h +++ b/include/configs/lager.h @@ -11,7 +11,6 @@ #define __LAGER_H #undef DEBUG -#define CONFIG_R8A7790 #include "rcar-gen2-common.h" diff --git a/include/configs/porter.h b/include/configs/porter.h index a966cf3c76..52b27c7537 100644 --- a/include/configs/porter.h +++ b/include/configs/porter.h @@ -12,7 +12,6 @@ #define __PORTER_H #undef DEBUG -#define CONFIG_R8A7791 #include "rcar-gen2-common.h" diff --git a/include/configs/silk.h b/include/configs/silk.h index 18c53e6b8c..c04f743520 100644 --- a/include/configs/silk.h +++ b/include/configs/silk.h @@ -12,7 +12,6 @@ #define __SILK_H #undef DEBUG -#define CONFIG_R8A7794 #include "rcar-gen2-common.h" diff --git a/include/configs/stout.h b/include/configs/stout.h index 92b9f85f92..dadee2d58c 100644 --- a/include/configs/stout.h +++ b/include/configs/stout.h @@ -13,7 +13,6 @@ #define __STOUT_H #undef DEBUG -#define CONFIG_R8A7790 #include "rcar-gen2-common.h" diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 52e7691c5d..5cd943e394 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -1787,12 +1787,6 @@ CONFIG_R8A66597_BASE_ADDR CONFIG_R8A66597_ENDIAN CONFIG_R8A66597_LDRV CONFIG_R8A66597_XTAL -CONFIG_R8A7740 -CONFIG_R8A7790 -CONFIG_R8A7791 -CONFIG_R8A7792 -CONFIG_R8A7793 -CONFIG_R8A7794 CONFIG_RAMBOOT CONFIG_RAMBOOTCOMMAND CONFIG_RAMBOOTCOMMAND_TFTP @@ -1959,7 +1953,6 @@ CONFIG_SF_DEFAULT_MODE CONFIG_SF_DEFAULT_SPEED CONFIG_SGI_IP28 CONFIG_SH4_PCI -CONFIG_SH73A0 CONFIG_SH7751_PCI CONFIG_SH7752EVB CONFIG_SH7753EVB