From patchwork Sat Aug 30 22:11:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 384506 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 B7265140182 for ; Sun, 31 Aug 2014 08:13:33 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2B5F9A755C; Sun, 31 Aug 2014 00:13:32 +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 2OGhPMwFcSTD; Sun, 31 Aug 2014 00:13:31 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 47BACA7767; Sun, 31 Aug 2014 00:12:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5925DA7422 for ; Sun, 31 Aug 2014 00:12:30 +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 NJZY7rXHurDi for ; Sun, 31 Aug 2014 00:12:26 +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 mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by theia.denx.de (Postfix) with ESMTPS id 24405A748F for ; Sun, 31 Aug 2014 00:12:00 +0200 (CEST) Received: by mail-pa0-f54.google.com with SMTP id fb1so9116480pad.27 for ; Sat, 30 Aug 2014 15:11:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=mGTZH289ucjug3p/IyNPI+zTYnNZ+5ltmh0T4uS7Aec=; b=qu+XI8Khj5R/afAppcY9kgH+ZVd9O+koBBH8958lvnh3rZZl2t3DainHRS6rAd7Eg9 wVlXucMqaQfm58mxQbRxA2/ze5lMQm6TWeISrkY0A7ECn++uzgwf49qQkeBBQobf8tRX zicaitECPPaQW8PlOhwip5IwTFBa+N+HhysUkYrDXIQaFI9UXyKZac3z9oo+4HvcSnXt aLxlcj1jE9A1plvyEltEolzy+OSpbxn4lv4DBcK6pXNnyQmRpeVCav+JyB2LHQF5QjH9 pO+ZTYbs3/ilSK/vsWTKw7pf2wKKqdEVH18LJKZ7svUSyxGtZcr5RUwdV9LVvo/WpBmQ //cQ== X-Received: by 10.70.54.102 with SMTP id i6mr25792598pdp.25.1409436718805; Sat, 30 Aug 2014 15:11:58 -0700 (PDT) Received: from oscar.sesame (112.136.125.45.er.eaccess.ne.jp. [112.136.125.45]) by mx.google.com with ESMTPSA id ix1sm2384426pbc.60.2014.08.30.15.11.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 30 Aug 2014 15:11:58 -0700 (PDT) From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sun, 31 Aug 2014 07:11:03 +0900 Message-Id: <1409436668-15300-10-git-send-email-yamada.m@jp.panasonic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409436668-15300-1-git-send-email-yamada.m@jp.panasonic.com> References: <1409436668-15300-1-git-send-email-yamada.m@jp.panasonic.com> Cc: Rob Herring , Ash Charles , Tom Rini Subject: [U-Boot] [PATCH v3 09/14] omap4: 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 OMAP4 board select menu to omap4/Kconfig. Move also common settings (CONFIG_SYS_CPU="armv7" and CONFIG_SYS_SOC="omap4"). Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini Cc: Lokesh Vutla --- Changes in v3: None Changes in v2: None arch/arm/Kconfig | 15 ++++----------- arch/arm/cpu/armv7/omap4/Kconfig | 29 +++++++++++++++++++++++++++++ board/gumstix/duovero/Kconfig | 8 -------- board/ti/panda/Kconfig | 8 -------- board/ti/sdp4430/Kconfig | 8 -------- configs/duovero_defconfig | 1 + configs/omap4_panda_defconfig | 1 + configs/omap4_sdp4430_defconfig | 1 + include/configs/ti_omap4_common.h | 1 - 9 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 arch/arm/cpu/armv7/omap4/Kconfig diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 837110d..cb24aed 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -409,14 +409,8 @@ config TARGET_HUMMINGBOARD config OMAP34XX bool "OMAP34XX SoC" -config TARGET_DUOVERO - bool "Support duovero" - -config TARGET_OMAP4_PANDA - bool "Support omap4_panda" - -config TARGET_OMAP4_SDP4430 - bool "Support omap4_sdp4430" +config OMAP44XX + bool "OMAP44XX SoC" config TARGET_CM_T54 bool "Support cm_t54" @@ -525,6 +519,8 @@ source "arch/arm/cpu/arm926ejs/kirkwood/Kconfig" source "arch/arm/cpu/armv7/omap3/Kconfig" +source "arch/arm/cpu/armv7/omap4/Kconfig" + source "arch/arm/cpu/armv7/rmobile/Kconfig" source "arch/arm/cpu/armv7/tegra-common/Kconfig" @@ -607,7 +603,6 @@ source "board/freescale/mx6sxsabresd/Kconfig" source "board/freescale/vf610twr/Kconfig" source "board/gateworks/gw_ventana/Kconfig" source "board/genesi/mx51_efikamx/Kconfig" -source "board/gumstix/duovero/Kconfig" source "board/gumstix/pepper/Kconfig" source "board/h2200/Kconfig" source "board/hale/tt01/Kconfig" @@ -661,8 +656,6 @@ source "board/ti/am43xx/Kconfig" source "board/ti/dra7xx/Kconfig" source "board/ti/ks2_evm/Kconfig" source "board/ti/omap5_uevm/Kconfig" -source "board/ti/panda/Kconfig" -source "board/ti/sdp4430/Kconfig" source "board/ti/ti814x/Kconfig" source "board/ti/ti816x/Kconfig" source "board/ti/tnetv107xevm/Kconfig" diff --git a/arch/arm/cpu/armv7/omap4/Kconfig b/arch/arm/cpu/armv7/omap4/Kconfig new file mode 100644 index 0000000..20d2c11 --- /dev/null +++ b/arch/arm/cpu/armv7/omap4/Kconfig @@ -0,0 +1,29 @@ +if OMAP44XX + +choice + prompt "OMAP4 board select" + +config TARGET_DUOVERO + bool "OMAP4430 Gumstix Duovero" + +config TARGET_OMAP4_PANDA + bool "TI OMAP4 PandaBoard" + +config TARGET_OMAP4_SDP4430 + bool "TI OMAP4 SDP4430" + +endchoice + +config SYS_CPU + string + default "armv7" + +config SYS_SOC + string + default "omap4" + +source "board/gumstix/duovero/Kconfig" +source "board/ti/panda/Kconfig" +source "board/ti/sdp4430/Kconfig" + +endif diff --git a/board/gumstix/duovero/Kconfig b/board/gumstix/duovero/Kconfig index d1b5c66..f662798 100644 --- a/board/gumstix/duovero/Kconfig +++ b/board/gumstix/duovero/Kconfig @@ -1,9 +1,5 @@ if TARGET_DUOVERO -config SYS_CPU - string - default "armv7" - config SYS_BOARD string default "duovero" @@ -12,10 +8,6 @@ config SYS_VENDOR string default "gumstix" -config SYS_SOC - string - default "omap4" - config SYS_CONFIG_NAME string default "duovero" diff --git a/board/ti/panda/Kconfig b/board/ti/panda/Kconfig index be1307d..b69218b 100644 --- a/board/ti/panda/Kconfig +++ b/board/ti/panda/Kconfig @@ -1,9 +1,5 @@ if TARGET_OMAP4_PANDA -config SYS_CPU - string - default "armv7" - config SYS_BOARD string default "panda" @@ -12,10 +8,6 @@ config SYS_VENDOR string default "ti" -config SYS_SOC - string - default "omap4" - config SYS_CONFIG_NAME string default "omap4_panda" diff --git a/board/ti/sdp4430/Kconfig b/board/ti/sdp4430/Kconfig index 140e1f1..9c1d8fe 100644 --- a/board/ti/sdp4430/Kconfig +++ b/board/ti/sdp4430/Kconfig @@ -1,9 +1,5 @@ if TARGET_OMAP4_SDP4430 -config SYS_CPU - string - default "armv7" - config SYS_BOARD string default "sdp4430" @@ -12,10 +8,6 @@ config SYS_VENDOR string default "ti" -config SYS_SOC - string - default "omap4" - config SYS_CONFIG_NAME string default "omap4_sdp4430" diff --git a/configs/duovero_defconfig b/configs/duovero_defconfig index b56092a..8591845 100644 --- a/configs/duovero_defconfig +++ b/configs/duovero_defconfig @@ -1,3 +1,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y ++S:CONFIG_OMAP44XX=y +S:CONFIG_TARGET_DUOVERO=y diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig index 1498d17..6afac38 100644 --- a/configs/omap4_panda_defconfig +++ b/configs/omap4_panda_defconfig @@ -1,3 +1,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y ++S:CONFIG_OMAP44XX=y +S:CONFIG_TARGET_OMAP4_PANDA=y diff --git a/configs/omap4_sdp4430_defconfig b/configs/omap4_sdp4430_defconfig index faac317..c771e76 100644 --- a/configs/omap4_sdp4430_defconfig +++ b/configs/omap4_sdp4430_defconfig @@ -1,3 +1,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y ++S:CONFIG_OMAP44XX=y +S:CONFIG_TARGET_OMAP4_SDP4430=y diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h index 30b02f6..8c7310c 100644 --- a/include/configs/ti_omap4_common.h +++ b/include/configs/ti_omap4_common.h @@ -15,7 +15,6 @@ /* * High Level Configuration Options */ -#define CONFIG_OMAP44XX 1 /* which is a 44XX */ #define CONFIG_OMAP4430 1 /* which is in a 4430 */ #define CONFIG_MISC_INIT_R #define CONFIG_ARCH_CPU_INIT