From patchwork Wed Aug 6 03:17:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 376855 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id CC8291400AF for ; Wed, 6 Aug 2014 13:19:42 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 41FF1396D; Wed, 6 Aug 2014 05:19:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7pyKGcS-5tvP; Wed, 6 Aug 2014 05:19:17 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 08765395C; Wed, 6 Aug 2014 05:18:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D6F843952 for ; Wed, 6 Aug 2014 05:18:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5pJmtqvJD9nC for ; Wed, 6 Aug 2014 05:18:23 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtp.mei.co.jp (smtp.mei.co.jp [133.183.100.20]) by theia.denx.de (Postfix) with ESMTP id 4F3EE393F for ; Wed, 6 Aug 2014 05:18:14 +0200 (CEST) Received: from mail-gw.jp.panasonic.com ([157.8.1.157]) by smtp.mei.co.jp (8.12.11.20060614/3.7W/kc-maile13) with ESMTP id s763I8Lm004548; Wed, 6 Aug 2014 12:18:08 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili15) with ESMTP id s763I8B29667; Wed, 6 Aug 2014 12:18:08 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi16) id s763I8wx002294; Wed, 6 Aug 2014 12:18:08 +0900 Received: from poodle by lomi16.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id s763I8GK002254; Wed, 6 Aug 2014 12:18:08 +0900 Received: from beagle.diag.org (beagle.diag.org [10.184.179.16]) by poodle (Postfix) with ESMTP id 059472743A5D; Wed, 6 Aug 2014 12:18:08 +0900 (JST) From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 6 Aug 2014 12:17:52 +0900 Message-Id: <1407295083-31995-5-git-send-email-yamada.m@jp.panasonic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407295083-31995-1-git-send-email-yamada.m@jp.panasonic.com> References: <1407295083-31995-1-git-send-email-yamada.m@jp.panasonic.com> Cc: Tom Rini , Nobuhiro Iwamatsu Subject: [U-Boot] [PATCH v2 04/15] rmobile: kconfig: move board select menu and common settings X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Becuase the board select menu in arch/arm/Kconfig is too big, move the Rmobile board select menu to rmobile/Kconfig. Consolidate also common settings (CONFIG_SYS_CPU="armv7" and CONFIG_SYS_SOC="rmobile"). Signed-off-by: Masahiro Yamada Cc: Nobuhiro Iwamatsu --- Changes in v2: None arch/arm/Kconfig | 23 +++-------------- arch/arm/cpu/armv7/rmobile/Kconfig | 37 ++++++++++++++++++++++++++++ board/atmark-techno/armadillo-800eva/Kconfig | 8 ------ board/kmc/kzm9g/Kconfig | 8 ------ board/renesas/alt/Kconfig | 8 ------ board/renesas/koelsch/Kconfig | 8 ------ board/renesas/lager/Kconfig | 8 ------ configs/alt_defconfig | 1 + configs/armadillo-800eva_defconfig | 1 + configs/koelsch_defconfig | 1 + configs/kzm9g_defconfig | 1 + configs/lager_defconfig | 1 + include/configs/alt.h | 1 - include/configs/armadillo-800eva.h | 1 - include/configs/koelsch.h | 1 - include/configs/kzm9g.h | 1 - include/configs/lager.h | 1 - 17 files changed, 46 insertions(+), 64 deletions(-) create mode 100644 arch/arm/cpu/armv7/rmobile/Kconfig diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 812e8af..a288ee1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -614,20 +614,8 @@ config TARGET_DRA7XX_EVM config TARGET_OMAP5_UEVM bool "Support omap5_uevm" -config TARGET_ARMADILLO_800EVA - bool "Support armadillo-800eva" - -config TARGET_KZM9G - bool "Support kzm9g" - -config TARGET_ALT - bool "Support alt" - -config TARGET_KOELSCH - bool "Support koelsch" - -config TARGET_LAGER - bool "Support lager" +config RMOBILE + bool "Renesas ARM SoCs" config TARGET_S5P_GONI bool "Support s5p_goni" @@ -716,6 +704,8 @@ config TARGET_JORNADA endchoice +source "arch/arm/cpu/armv7/rmobile/Kconfig" + source "arch/arm/cpu/armv7/tegra-common/Kconfig" source "arch/arm/cpu/armv7/zynq/Kconfig" @@ -750,7 +740,6 @@ source "board/armltd/integrator/Kconfig" source "board/armltd/versatile/Kconfig" source "board/armltd/vexpress/Kconfig" source "board/armltd/vexpress64/Kconfig" -source "board/atmark-techno/armadillo-800eva/Kconfig" source "board/atmel/at91rm9200ek/Kconfig" source "board/atmel/at91sam9260ek/Kconfig" source "board/atmel/at91sam9261ek/Kconfig" @@ -840,7 +829,6 @@ source "board/jornada/Kconfig" source "board/karo/tk71/Kconfig" source "board/karo/tx25/Kconfig" source "board/keymile/km_arm/Kconfig" -source "board/kmc/kzm9g/Kconfig" source "board/logicpd/am3517evm/Kconfig" source "board/logicpd/imx27lite/Kconfig" source "board/logicpd/imx31_litekit/Kconfig" @@ -861,9 +849,6 @@ source "board/ppcag/bg0900/Kconfig" source "board/pxa255_idp/Kconfig" source "board/raidsonic/ib62x0/Kconfig" source "board/raspberrypi/rpi_b/Kconfig" -source "board/renesas/alt/Kconfig" -source "board/renesas/koelsch/Kconfig" -source "board/renesas/lager/Kconfig" source "board/ronetix/pm9261/Kconfig" source "board/ronetix/pm9263/Kconfig" source "board/ronetix/pm9g45/Kconfig" diff --git a/arch/arm/cpu/armv7/rmobile/Kconfig b/arch/arm/cpu/armv7/rmobile/Kconfig new file mode 100644 index 0000000..55c620a --- /dev/null +++ b/arch/arm/cpu/armv7/rmobile/Kconfig @@ -0,0 +1,37 @@ +if RMOBILE + +choice + prompt "Renesus ARM SoCs board select" + +config TARGET_ARMADILLO_800EVA + bool "armadillo 800 eva board" + +config TARGET_KOELSCH + bool "Koelsch board" + +config TARGET_LAGER + bool "Lager board" + +config TARGET_KZM9G + bool "KZM9D board" + +config TARGET_ALT + bool "Alt board" + +endchoice + +config SYS_CPU + string + default "armv7" + +config SYS_SOC + string + default "rmobile" + +source "board/atmark-techno/armadillo-800eva/Kconfig" +source "board/renesas/koelsch/Kconfig" +source "board/renesas/lager/Kconfig" +source "board/kmc/kzm9g/Kconfig" +source "board/renesas/alt/Kconfig" + +endif diff --git a/board/atmark-techno/armadillo-800eva/Kconfig b/board/atmark-techno/armadillo-800eva/Kconfig index c8f89fe..3365c7b 100644 --- a/board/atmark-techno/armadillo-800eva/Kconfig +++ b/board/atmark-techno/armadillo-800eva/Kconfig @@ -1,9 +1,5 @@ if TARGET_ARMADILLO_800EVA -config SYS_CPU - string - default "armv7" - config SYS_BOARD string default "armadillo-800eva" @@ -12,10 +8,6 @@ config SYS_VENDOR string default "atmark-techno" -config SYS_SOC - string - default "rmobile" - config SYS_CONFIG_NAME string default "armadillo-800eva" diff --git a/board/kmc/kzm9g/Kconfig b/board/kmc/kzm9g/Kconfig index 2d40173..ab4812f 100644 --- a/board/kmc/kzm9g/Kconfig +++ b/board/kmc/kzm9g/Kconfig @@ -1,9 +1,5 @@ if TARGET_KZM9G -config SYS_CPU - string - default "armv7" - config SYS_BOARD string default "kzm9g" @@ -12,10 +8,6 @@ config SYS_VENDOR string default "kmc" -config SYS_SOC - string - default "rmobile" - config SYS_CONFIG_NAME string default "kzm9g" diff --git a/board/renesas/alt/Kconfig b/board/renesas/alt/Kconfig index d317025..dc01a38 100644 --- a/board/renesas/alt/Kconfig +++ b/board/renesas/alt/Kconfig @@ -1,9 +1,5 @@ if TARGET_ALT -config SYS_CPU - string - default "armv7" - config SYS_BOARD string default "alt" @@ -12,10 +8,6 @@ config SYS_VENDOR string default "renesas" -config SYS_SOC - string - default "rmobile" - config SYS_CONFIG_NAME string default "alt" diff --git a/board/renesas/koelsch/Kconfig b/board/renesas/koelsch/Kconfig index 0def847..e7c6437 100644 --- a/board/renesas/koelsch/Kconfig +++ b/board/renesas/koelsch/Kconfig @@ -1,9 +1,5 @@ if TARGET_KOELSCH -config SYS_CPU - string - default "armv7" - config SYS_BOARD string default "koelsch" @@ -12,10 +8,6 @@ config SYS_VENDOR string default "renesas" -config SYS_SOC - string - default "rmobile" - config SYS_CONFIG_NAME string default "koelsch" diff --git a/board/renesas/lager/Kconfig b/board/renesas/lager/Kconfig index e88f4f6..07dc98c 100644 --- a/board/renesas/lager/Kconfig +++ b/board/renesas/lager/Kconfig @@ -1,9 +1,5 @@ if TARGET_LAGER -config SYS_CPU - string - default "armv7" - config SYS_BOARD string default "lager" @@ -12,10 +8,6 @@ config SYS_VENDOR string default "renesas" -config SYS_SOC - string - default "rmobile" - config SYS_CONFIG_NAME string default "lager" diff --git a/configs/alt_defconfig b/configs/alt_defconfig index 11a1c89..0655e60 100644 --- a/configs/alt_defconfig +++ b/configs/alt_defconfig @@ -1,2 +1,3 @@ CONFIG_ARM=y ++S:CONFIG_RMOBILE=y CONFIG_TARGET_ALT=y diff --git a/configs/armadillo-800eva_defconfig b/configs/armadillo-800eva_defconfig index 081c88a..9b17895 100644 --- a/configs/armadillo-800eva_defconfig +++ b/configs/armadillo-800eva_defconfig @@ -1,2 +1,3 @@ CONFIG_ARM=y ++S:CONFIG_RMOBILE=y CONFIG_TARGET_ARMADILLO_800EVA=y diff --git a/configs/koelsch_defconfig b/configs/koelsch_defconfig index d63a286..d59ff3d 100644 --- a/configs/koelsch_defconfig +++ b/configs/koelsch_defconfig @@ -1,2 +1,3 @@ CONFIG_ARM=y ++S:CONFIG_RMOBILE=y CONFIG_TARGET_KOELSCH=y diff --git a/configs/kzm9g_defconfig b/configs/kzm9g_defconfig index aaddf82..d4d340f 100644 --- a/configs/kzm9g_defconfig +++ b/configs/kzm9g_defconfig @@ -1,2 +1,3 @@ CONFIG_ARM=y ++S:CONFIG_RMOBILE=y CONFIG_TARGET_KZM9G=y diff --git a/configs/lager_defconfig b/configs/lager_defconfig index bf1be72..9a32d6b 100644 --- a/configs/lager_defconfig +++ b/configs/lager_defconfig @@ -1,2 +1,3 @@ CONFIG_ARM=y ++S:CONFIG_RMOBILE=y CONFIG_TARGET_LAGER=y diff --git a/include/configs/alt.h b/include/configs/alt.h index 9eec4bc..7238f68 100644 --- a/include/configs/alt.h +++ b/include/configs/alt.h @@ -13,7 +13,6 @@ #undef DEBUG #define CONFIG_ARMV7 #define CONFIG_R8A7794 -#define CONFIG_RMOBILE #define CONFIG_RMOBILE_BOARD_STRING "Alt" #define CONFIG_SH_GPIO_PFC diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h index 8bb932c..b073b97 100644 --- a/include/configs/armadillo-800eva.h +++ b/include/configs/armadillo-800eva.h @@ -12,7 +12,6 @@ #undef DEBUG #define CONFIG_ARMV7 #define CONFIG_R8A7740 -#define CONFIG_RMOBILE #define CONFIG_RMOBILE_BOARD_STRING "Armadillo-800EVA Board\n" #define CONFIG_SH_GPIO_PFC diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h index 6795f28..ffb1c3b 100644 --- a/include/configs/koelsch.h +++ b/include/configs/koelsch.h @@ -12,7 +12,6 @@ #undef DEBUG #define CONFIG_ARMV7 #define CONFIG_R8A7791 -#define CONFIG_RMOBILE #define CONFIG_RMOBILE_BOARD_STRING "Koelsch" #define CONFIG_SH_GPIO_PFC diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 5a13ad1..ac74ae7 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -10,7 +10,6 @@ #undef DEBUG -#define CONFIG_RMOBILE #define CONFIG_SH73A0 #define CONFIG_KZM_A9_GT #define CONFIG_RMOBILE_BOARD_STRING "KMC KZM-A9-GT" diff --git a/include/configs/lager.h b/include/configs/lager.h index f39a788..8ec268b 100644 --- a/include/configs/lager.h +++ b/include/configs/lager.h @@ -13,7 +13,6 @@ #undef DEBUG #define CONFIG_ARMV7 #define CONFIG_R8A7790 -#define CONFIG_RMOBILE #define CONFIG_RMOBILE_BOARD_STRING "Lager" #define CONFIG_SH_GPIO_PFC