From patchwork Sat Nov 19 11:59:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 126541 X-Patchwork-Delegate: albert.aribaud@free.fr 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 E8C09B7239 for ; Sat, 19 Nov 2011 22:59:57 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D468D28846; Sat, 19 Nov 2011 12:59:41 +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 0KJCNEOygQhw; Sat, 19 Nov 2011 12:59:41 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E72CA28783; Sat, 19 Nov 2011 12:59:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7AABA2874B for ; Sat, 19 Nov 2011 12:59:23 +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 WDsLhSrda02b for ; Sat, 19 Nov 2011 12:59:23 +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-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by theia.denx.de (Postfix) with ESMTP id 135FB28753 for ; Sat, 19 Nov 2011 12:59:19 +0100 (CET) Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 73D0E186DECD; Sat, 19 Nov 2011 13:01:53 +0100 (CET) X-Auth-Info: +RXqD1MsV6BN9grFPWo3eQiC+nyrsTRDLuc30jv0gmQ= Received: from localhost (p4FC46DF7.dip.t-dialin.net [79.196.109.247]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA id 4805A1C000A7; Sat, 19 Nov 2011 12:59:19 +0100 (CET) From: Anatolij Gustschin To: u-boot@lists.denx.de Date: Sat, 19 Nov 2011 12:59:10 +0100 Message-Id: <1321703956-4224-4-git-send-email-agust@denx.de> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1321703956-4224-1-git-send-email-agust@denx.de> References: <1321703956-4224-1-git-send-email-agust@denx.de> Subject: [U-Boot] [PATCH 3/9] ARM: cradle: re-add MACH_TYPE_HHP_CRADLE 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 MACH_TYPE_HHP_CRADLE was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin Acked-by: Simon Glass --- board/cradle/cradle.c | 3 --- include/configs/cradle.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/cradle/cradle.c b/board/cradle/cradle.c index 2bbf2d5..e9f38f8 100644 --- a/board/cradle/cradle.c +++ b/board/cradle/cradle.c @@ -191,9 +191,6 @@ board_init (void) led_code (0xf, YELLOW); - /* arch number of HHP Cradle */ - gd->bd->bi_arch_number = MACH_TYPE_HHP_CRADLE; - /* adress of boot parameters */ gd->bd->bi_boot_params = 0xa0000100; diff --git a/include/configs/cradle.h b/include/configs/cradle.h index 25be616..d56deee 100644 --- a/include/configs/cradle.h +++ b/include/configs/cradle.h @@ -35,6 +35,9 @@ #define CONFIG_PXA250 1 /* This is an PXA250 CPU */ #define CONFIG_HHP_CRADLE 1 /* on an Cradle Board */ +#define MACH_TYPE_HHP_CRADLE 210 +#define CONFIG_MACH_TYPE MACH_TYPE_HHP_CRADLE + #undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */ /* we will never enable dcache, because we have to setup MMU first */