From patchwork Thu Mar 24 12:27:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Macpaul Lin X-Patchwork-Id: 88174 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 E9CAAB6F8D for ; Thu, 24 Mar 2011 23:28:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8C9682810F; Thu, 24 Mar 2011 13:28:31 +0100 (CET) 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 5kvZQhu4gUZk; Thu, 24 Mar 2011 13:28:31 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 36A1B28101; Thu, 24 Mar 2011 13:28:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 741FE28102 for ; Thu, 24 Mar 2011 13:28:26 +0100 (CET) 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 cEyA05Ls5U2B for ; Thu, 24 Mar 2011 13:28:24 +0100 (CET) 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 atcpcs01.andestech.com (unknown [118.99.208.106]) by theia.denx.de (Postfix) with ESMTP id 2B5A228100 for ; Thu, 24 Mar 2011 13:28:23 +0100 (CET) Thread-Index: AcvqHvNRHPYQzL1YRTOCYfnVbfIvBQ== Received: from ATCPCS06.andestech.com ([10.0.1.236]) by atcpcs01.andestech.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 24 Mar 2011 20:28:16 +0800 Received: from app01.andestech.com ([10.0.4.31]) by ATCPCS06.andestech.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 24 Mar 2011 20:28:15 +0800 From: "Macpaul Lin" To: , , , , Date: Thu, 24 Mar 2011 20:27:56 +0800 Message-ID: <1300969687-2428-2-git-send-email-macpaul@andestech.com> X-Mailer: git-send-email 1.7.3.5 In-Reply-To: <1300969687-2428-1-git-send-email-macpaul@andestech.com> References: <1300969687-2428-1-git-send-email-macpaul@andestech.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4721 Content-class: urn:content-classes:message Importance: normal Priority: normal X-OriginalArrivalTime: 24 Mar 2011 12:28:15.0681 (UTC) FILETIME=[F2FD8310:01CBEA1E] Cc: Macpaul Lin Subject: [U-Boot] [PATCH v6 02/13] 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 --- include/common.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) *buf); diff --git a/include/common.h b/include/common.h index d8c912d..31434aa 100644 --- a/include/common.h +++ b/include/common.h @@ -273,6 +273,10 @@ int setenv (char *, char *); #ifdef CONFIG_I386 /* x86 version to be fixed! */ # include #endif /* CONFIG_I386 */ +#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