From patchwork Wed Apr 6 18:55:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clint Adams X-Patchwork-Id: 90059 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 3081FB6F73 for ; Thu, 7 Apr 2011 05:00:45 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 067FA280A7; Wed, 6 Apr 2011 21:00:43 +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 LQyCpbLmbUJS; Wed, 6 Apr 2011 21:00:42 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 22300280A9; Wed, 6 Apr 2011 21:00:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 51CDB280A9 for ; Wed, 6 Apr 2011 21:00:38 +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 wSJGUtUR8BeT for ; Wed, 6 Apr 2011 21:00:37 +0200 (CEST) X-Greylist: delayed 315 seconds by postgrey-1.27 at theia; Wed, 06 Apr 2011 21:00:36 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 cork.scru.org (cork.scru.org [209.20.67.2]) by theia.denx.de (Postfix) with ESMTPS id 14970280A7 for ; Wed, 6 Apr 2011 21:00:36 +0200 (CEST) Received: from localhost (cpe-98-14-92-229.nyc.res.rr.com [98.14.92.229]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by cork.scru.org (Postfix) with ESMTPSA id 43347104B1A; Wed, 6 Apr 2011 18:59:52 +0000 (UTC) From: Clint Adams To: u-boot@lists.denx.de Date: Wed, 6 Apr 2011 14:55:02 -0400 Message-Id: <1302116103-15460-1-git-send-email-clint@debian.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: References: X-Virus-Scanned: clamav-milter 0.97 at cork.scru.org X-Virus-Status: Clean Cc: julian.pidancet@citrix.com Subject: [U-Boot] [PATCH 1/2] Add definitions for OpenRD-Client and OpenRD-Ultimate X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 --- MAKEALL | 2 ++ boards.cfg | 4 +++- include/configs/openrd_base.h | 14 +++++++++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/MAKEALL b/MAKEALL index e1b928f..011cead 100755 --- a/MAKEALL +++ b/MAKEALL @@ -361,6 +361,8 @@ LIST_ARM9=" \ omap5912osk \ omap730p2 \ openrd_base \ + openrd_client \ + openrd_ultimate \ rd6281a \ sbc2410x \ scb9328 \ diff --git a/boards.cfg b/boards.cfg index d25f3f2..425d51b 100644 --- a/boards.cfg +++ b/boards.cfg @@ -96,7 +96,9 @@ davinci_sonata arm arm926ejs sonata davinci suen3 arm arm926ejs km_arm keymile kirkwood guruplug arm arm926ejs - Marvell kirkwood mv88f6281gtw_ge arm arm926ejs - Marvell kirkwood -openrd_base arm arm926ejs - Marvell kirkwood +openrd_base arm arm926ejs openrd_base Marvell kirkwood openrd_base:BOARD_IS_OPENRD_BASE +openrd_client arm arm926ejs openrd_base Marvell kirkwood openrd_base:BOARD_IS_OPENRD_CLIENT +openrd_ultimate arm arm926ejs openrd_base Marvell kirkwood openrd_base:BOARD_IS_OPENRD_ULTIMATE rd6281a arm arm926ejs - Marvell kirkwood sheevaplug arm arm926ejs - Marvell kirkwood dockstar arm arm926ejs - Seagate kirkwood diff --git a/include/configs/openrd_base.h b/include/configs/openrd_base.h index cfdd09c..5e05890 100644 --- a/include/configs/openrd_base.h +++ b/include/configs/openrd_base.h @@ -33,7 +33,19 @@ /* * Version number information */ -#define CONFIG_IDENT_STRING "\nOpenRD_base" +#ifdef CONFIG_BOARD_IS_OPENRD_ULTIMATE +# define CONFIG_IDENT_STRING "\nOpenRD-Ultimate" +#else +# ifdef CONFIG_BOARD_IS_OPENRD_CLIENT +# define CONFIG_IDENT_STRING "\nOpenRD-Client" +# else +# ifdef CONFIG_BOARD_IS_OPENRD_BASE +# define CONFIG_IDENT_STRING "\nOpenRD-Base" +# else +# error Unknown OpenRD board specified +# endif +# endif +#endif /* * High Level Configuration Options (easy to change)