From patchwork Wed Aug 31 10:25:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Macpaul Lin X-Patchwork-Id: 112524 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 55B11B6F7B for ; Wed, 31 Aug 2011 20:55:08 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3928B280CC; Wed, 31 Aug 2011 12:54:46 +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 Bu4uf6lkmFV3; Wed, 31 Aug 2011 12:54:45 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 91FD6280A6; Wed, 31 Aug 2011 12:54:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BF61028083 for ; Wed, 31 Aug 2011 12:54:05 +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 oI8ue2mj4x3b for ; Wed, 31 Aug 2011 12:54:05 +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 atces.andestech.com (59-124-160-118.HINET-IP.hinet.net [59.124.160.118]) by theia.denx.de (Postfix) with ESMTP id A0C712808F for ; Wed, 31 Aug 2011 12:54:04 +0200 (CEST) Received: from ATCPCS06.andestech.com (atcpcs06.andestech.com [10.0.1.236]) by atces.andestech.com (Postfix) with ESMTP id 570F02E200A9; Wed, 31 Aug 2011 18:36:34 +0800 (CST) Received: from app01.andestech.com ([10.0.4.31]) by ATCPCS06.andestech.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 31 Aug 2011 18:26:22 +0800 From: Macpaul Lin To: u-boot@lists.denx.de, ratbert@faraday-tech.com, cmchao@gmail.com, wd@denx.de, macpaul@gmail.com Date: Wed, 31 Aug 2011 18:25:54 +0800 Message-Id: <1314786360-31410-2-git-send-email-macpaul@andestech.com> X-Mailer: git-send-email 1.7.3.5 In-Reply-To: <1304342712-17120-10-git-send-email-macpaul@andestech.com> References: <1304342712-17120-10-git-send-email-macpaul@andestech.com> X-OriginalArrivalTime: 31 Aug 2011 10:26:22.0832 (UTC) FILETIME=[6E494F00:01CC67C8] Cc: Macpaul Lin Subject: [U-Boot] [PATCH v10 2/8] nds32: add NDS32 support into common header file 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 Add NDS32 support into common header file. Signed-off-by: Macpaul Lin --- Changes for v1-v7: - No change Changes for v8: - Fix the patch according to dependency of x86's Fix Changes for v9-v10: - No change include/common.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/common.h b/include/common.h index 12a1074..782933d 100644 --- a/include/common.h +++ b/include/common.h @@ -281,6 +281,10 @@ int setenv (const char *, const char *); #ifdef CONFIG_X86 /* x86 version to be fixed! */ # include #endif /* CONFIG_X86 */ +#ifdef CONFIG_NDS32 +# include +# include /* NDS32 version to be fixed! */ +#endif /* CONFIG_NDS32 */ #ifdef CONFIG_AUTO_COMPLETE int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);