From patchwork Fri Jul 11 07:31:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 369023 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 EC9D81400E7 for ; Fri, 11 Jul 2014 17:32:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8682AA7427; Fri, 11 Jul 2014 09:32:14 +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 h8E6nZAN-9ut; Fri, 11 Jul 2014 09:32:14 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E7446A7A09; Fri, 11 Jul 2014 09:32:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 80E76A7A09 for ; Fri, 11 Jul 2014 09:32:06 +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 vusK7CHTtYjn for ; Fri, 11 Jul 2014 09:32:03 +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 78C49A741B for ; Fri, 11 Jul 2014 09:31:58 +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 s6B7VtKI025432; Fri, 11 Jul 2014 16:31:55 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili16) with ESMTP id s6B7VtM08603; Fri, 11 Jul 2014 16:31:55 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi13) id s6B7Vtle012787; Fri, 11 Jul 2014 16:31:55 +0900 Received: from poodle by lomi13.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id s6B7VtNI012769; Fri, 11 Jul 2014 16:31:55 +0900 Received: from beagle.diag.org (beagle.diag.org [10.184.179.16]) by poodle (Postfix) with ESMTP id 3F9E52743A5D; Fri, 11 Jul 2014 16:31:55 +0900 (JST) From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 11 Jul 2014 16:31:47 +0900 Message-Id: <1405063907-26418-2-git-send-email-yamada.m@jp.panasonic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1405063907-26418-1-git-send-email-yamada.m@jp.panasonic.com> References: <1405063907-26418-1-git-send-email-yamada.m@jp.panasonic.com> Cc: Tom Rini Subject: [U-Boot] [PATCH v2 2/2] boards.cfg: change "" in the board field to "-" 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 In the previous commit, all the board fields were filled. Now we can use "-" in the board field for a different meaning. Going forward, "-" stands for no board directory as in cpu, soc, vendor fields. Signed-off-by: Masahiro Yamada --- Changes in v2: None boards.cfg | 4 ++-- mkconfig | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/boards.cfg b/boards.cfg index b3995f5..1ba2081 100644 --- a/boards.cfg +++ b/boards.cfg @@ -49,8 +49,8 @@ Active aarch64 armv8 fsl-lsch3 freescale ls2085a Active aarch64 armv8 fsl-lsch3 freescale ls2085a ls2085a_emu_D4 ls2085a_emu:ARM64,EMU,SYS_FSL_DDR4 York Sun Active aarch64 armv8 fsl-lsch3 freescale ls2085a ls2085a_simu ls2085a_simu:ARM64,SIMU York Sun Active arc arc700 - abilis tb100 tb100 - Alexey Brodkin -Active arc arc700 - synopsys arcangel4 - Alexey Brodkin -Active arc arc700 - synopsys arcangel4-be - Alexey Brodkin +Active arc arc700 - synopsys - arcangel4 - Alexey Brodkin +Active arc arc700 - synopsys - arcangel4-be - Alexey Brodkin Active arc arc700 - synopsys axs101 axs101 - Alexey Brodkin Active arm arm1136 - armltd integrator integratorcp_cm1136 integratorcp:CM1136 Linus Walleij Active arm arm1136 mx31 - imx31_phycore imx31_phycore - - diff --git a/mkconfig b/mkconfig index 401f262..84f5a77 100755 --- a/mkconfig +++ b/mkconfig @@ -60,13 +60,7 @@ if [ "$cpu" = "-" ] ; then cpu= fi -if [ "$6" = "" ] ; then - board= -elif [ "$6" = "-" ] ; then - board=${BOARD_NAME} -else - board="$6" -fi +[ "$6" != "-" ] && board="$6" [ "$5" != "-" ] && vendor="$5" [ "$4" != "-" ] && soc="$4" [ $# -gt 7 ] && [ "$8" != "-" ] && {