From patchwork Sat Nov 19 10:45:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Riesch X-Patchwork-Id: 126534 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 0F7BAB7231 for ; Sat, 19 Nov 2011 21:51:02 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A85E3287AD; Sat, 19 Nov 2011 11:51:00 +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 aWBiXjO2wxpq; Sat, 19 Nov 2011 11:51:00 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C9E952879F; Sat, 19 Nov 2011 11:50:58 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5B8672879F for ; Sat, 19 Nov 2011 11:50:56 +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 QUNbJwJV-onu for ; Sat, 19 Nov 2011 11:50:55 +0100 (CET) X-Greylist: delayed 330 seconds by postgrey-1.27 at theia; Sat, 19 Nov 2011 11:50:55 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 smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.101]) by theia.denx.de (Postfix) with ESMTP id 8254F2879E for ; Sat, 19 Nov 2011 11:50:55 +0100 (CET) Received: from [129.187.19.220] (helo=localhost.localdomain) by smtprelay06.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1RRiQG-0004rk-LN; Sat, 19 Nov 2011 11:45:24 +0100 From: Christian Riesch To: u-boot@lists.denx.de Date: Sat, 19 Nov 2011 11:45:43 +0100 Message-Id: <1321699544-2235-2-git-send-email-christian.riesch@omicron.at> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1321699544-2235-1-git-send-email-christian.riesch@omicron.at> References: <1321699544-2235-1-git-send-email-christian.riesch@omicron.at> X-Df-Sender: Y2hyaXN0aWFuQHJpZXNjaC5hdA== Cc: Christian Riesch Subject: [U-Boot] [PATCH] davinci_sonata: define CONFIG_MACH_TYPE for davinci_sonata board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 This patch fixes the build breakage for the davinci_sonata board. Signed-off-by: Christian Riesch Cc: Sergey Kubushyn Cc: Sandeep Paulraj --- board/davinci/sonata/sonata.c | 3 --- include/configs/davinci_sonata.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/board/davinci/sonata/sonata.c b/board/davinci/sonata/sonata.c index c194290..55110fb 100644 --- a/board/davinci/sonata/sonata.c +++ b/board/davinci/sonata/sonata.c @@ -34,9 +34,6 @@ DECLARE_GLOBAL_DATA_PTR; int board_init(void) { - /* arch number of the board */ - gd->bd->bi_arch_number = MACH_TYPE_SONATA; - /* address of boot parameters */ gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR; diff --git a/include/configs/davinci_sonata.h b/include/configs/davinci_sonata.h index 74530e8..fc4d8ec 100644 --- a/include/configs/davinci_sonata.h +++ b/include/configs/davinci_sonata.h @@ -52,6 +52,8 @@ #define CONFIG_SYS_NAND_SMALLPAGE #define CONFIG_SYS_USE_NOR #define CONFIG_DISPLAY_CPUINFO +#define MACH_TYPE_SONATA 1254 +#define CONFIG_MACH_TYPE MACH_TYPE_SONATA /*===================*/ /* SoC Configuration */ /*===================*/