From patchwork Thu Sep 22 18:07:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 115980 X-Patchwork-Delegate: sbabic@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 D9B48B6F80 for ; Fri, 23 Sep 2011 04:05:04 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EE0FF28470; Thu, 22 Sep 2011 20:04:56 +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 WPHJY+RZPuTI; Thu, 22 Sep 2011 20:04:56 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AADA528437; Thu, 22 Sep 2011 20:04:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8452928428 for ; Thu, 22 Sep 2011 20:04:44 +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 48pbZqQQhuTi for ; Thu, 22 Sep 2011 20:04:43 +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 DB3EHSOBE004.bigfish.com (db3ehsobe004.messaging.microsoft.com [213.199.154.142]) by theia.denx.de (Postfix) with ESMTPS id 36C4428425 for ; Thu, 22 Sep 2011 20:04:41 +0200 (CEST) Received: from mail28-db3-R.bigfish.com (10.3.81.246) by DB3EHSOBE004.bigfish.com (10.3.84.24) with Microsoft SMTP Server id 14.1.225.22; Thu, 22 Sep 2011 18:04:41 +0000 Received: from mail28-db3 (localhost.localdomain [127.0.0.1]) by mail28-db3-R.bigfish.com (Postfix) with ESMTP id E8AF9E5056D; Thu, 22 Sep 2011 18:04:40 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h668h839h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPVD:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-SS: 0, Received: from mail28-db3 (localhost.localdomain [127.0.0.1]) by mail28-db3 (MessageSwitch) id 1316714680460065_6733; Thu, 22 Sep 2011 18:04:40 +0000 (UTC) Received: from DB3EHSMHS014.bigfish.com (unknown [10.3.81.247]) by mail28-db3.bigfish.com (Postfix) with ESMTP id 6858740050; Thu, 22 Sep 2011 18:04:40 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB3EHSMHS014.bigfish.com (10.3.87.114) with Microsoft SMTP Server (TLS) id 14.1.225.22; Thu, 22 Sep 2011 18:04:35 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server id 14.1.323.7; Thu, 22 Sep 2011 13:04:33 -0500 Received: from localhost.localdomain ([10.29.240.182]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p8MI4MiW004020; Thu, 22 Sep 2011 13:04:31 -0500 (CDT) From: Fabio Estevam To: Date: Thu, 22 Sep 2011 15:07:15 -0300 Message-ID: <1316714842-18271-6-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1316714842-18271-5-git-send-email-fabio.estevam@freescale.com> References: <1316714842-18271-1-git-send-email-fabio.estevam@freescale.com> <1316714842-18271-2-git-send-email-fabio.estevam@freescale.com> <1316714842-18271-3-git-send-email-fabio.estevam@freescale.com> <1316714842-18271-4-git-send-email-fabio.estevam@freescale.com> <1316714842-18271-5-git-send-email-fabio.estevam@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: Fabio Estevam Subject: [U-Boot] [PATCH 6/13] mx25pdk: Place machine ID into board config 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Let common code set the machine ID. Signed-off-by: Fabio Estevam --- board/freescale/mx25pdk/mx25pdk.c | 1 - include/configs/mx25pdk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c index 34a3811..4a8352f 100644 --- a/board/freescale/mx25pdk/mx25pdk.c +++ b/board/freescale/mx25pdk/mx25pdk.c @@ -42,7 +42,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX25_3DS; /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index fc80a71..0afae24 100644 --- a/include/configs/mx25pdk.h +++ b/include/configs/mx25pdk.h @@ -28,6 +28,8 @@ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#define CONFIG_MACH_TYPE MACH_TYPE_MX25_3DS + /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)