From patchwork Tue Nov 8 05:40:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Chen X-Patchwork-Id: 124269 X-Patchwork-Delegate: agust@denx.de 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 C1A9C1007D5 for ; Tue, 8 Nov 2011 16:41:17 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D905929485; Tue, 8 Nov 2011 06:41:14 +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 ZJut10oc2G7k; Tue, 8 Nov 2011 06:41:14 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B750129472; Tue, 8 Nov 2011 06:41:13 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A8A2429472 for ; Tue, 8 Nov 2011 06:41:12 +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 Fg784xqyFATH for ; Tue, 8 Nov 2011 06:41:12 +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 mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by theia.denx.de (Postfix) with ESMTPS id E57FB29471 for ; Tue, 8 Nov 2011 06:41:10 +0100 (CET) Received: by ywt2 with SMTP id 2so172582ywt.3 for ; Mon, 07 Nov 2011 21:41:08 -0800 (PST) Received: by 10.236.145.37 with SMTP id o25mr39992707yhj.31.1320730867937; Mon, 07 Nov 2011 21:41:07 -0800 (PST) Received: from localhost.localdomain ([111.80.237.150]) by mx.google.com with ESMTPS id u4sm701084yha.13.2011.11.07.21.41.01 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Nov 2011 21:41:06 -0800 (PST) From: Andrew Chen To: u-boot@lists.denx.de Date: Tue, 8 Nov 2011 13:40:25 +0800 Message-Id: <1320730825-1989-1-git-send-email-yanpai.chen@gmail.com> X-Mailer: git-send-email 1.7.1 Cc: Yan-Pai Chen Subject: [U-Boot] [PATCH] arm: a320evb: define mach-type in board config 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 From: Yan-Pai Chen MACH_TYPE_FARADAY was dropped from mach-types.h. Add it back to board config file. Signed-off-by: Yan-Pai Chen Acked-by: Igor Grinberg --- board/faraday/a320evb/a320evb.c | 1 - include/configs/a320evb.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/board/faraday/a320evb/a320evb.c b/board/faraday/a320evb/a320evb.c index 2578be4..dfd186b 100644 --- a/board/faraday/a320evb/a320evb.c +++ b/board/faraday/a320evb/a320evb.c @@ -31,7 +31,6 @@ DECLARE_GLOBAL_DATA_PTR; int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_FARADAY; gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; ftsmc020_init(); /* initialize Flash */ diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index 45a7c53..1fafbed 100644 --- a/include/configs/a320evb.h +++ b/include/configs/a320evb.h @@ -25,6 +25,12 @@ #include /* + * mach-type definition + */ +#define MACH_TYPE_FARADAY 758 +#define CONFIG_MACH_TYPE MACH_TYPE_FARADAY + +/* * Linux kernel tagged list */ #define CONFIG_CMDLINE_TAG