From patchwork Mon Oct 31 08:52:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gorsulowski X-Patchwork-Id: 122763 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 8DAF6B6F7B for ; Mon, 31 Oct 2011 19:59:26 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2CA9528E80; Mon, 31 Oct 2011 09:59:22 +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 cX+9zUJyqbTE; Mon, 31 Oct 2011 09:59:21 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D2150288B0; Mon, 31 Oct 2011 09:59:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E7DB0288B0 for ; Mon, 31 Oct 2011 09:59:18 +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 w5WCT9xr7f8X for ; Mon, 31 Oct 2011 09:59:18 +0100 (CET) X-Greylist: delayed 312 seconds by postgrey-1.27 at theia; Mon, 31 Oct 2011 09:59:15 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 moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by theia.denx.de (Postfix) with ESMTP id F2BC82881B for ; Mon, 31 Oct 2011 09:59:15 +0100 (CET) Received: from comm-neu.esd (a89-182-233-244.net-htp.de [89.182.233.244]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MV5B7-1RUtzJ3BpF-00YUSi; Mon, 31 Oct 2011 09:54:01 +0100 Received: from localhost (localhost [127.0.0.1]) by comm-neu.esd (Postfix) with ESMTP id 9C8BA1362D7; Mon, 31 Oct 2011 09:52:45 +0100 (CET) Received: from comm-neu.esd ([127.0.0.1]) by localhost (comm [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26869-01; Mon, 31 Oct 2011 09:52:30 +0100 (CET) Received: from localhost.localdomain (debby.esd [10.0.0.190]) by comm-neu.esd (Postfix) with ESMTP id 454D61362CC; Mon, 31 Oct 2011 09:52:30 +0100 (CET) From: Daniel Gorsulowski To: u-boot@lists.denx.de Date: Mon, 31 Oct 2011 09:52:28 +0100 Message-Id: <13200511491395-git-send-email-Daniel.Gorsulowski@esd.eu> X-Mailer: git-send-email 1.5.3 X-Virus-Scanned: by amavisd at esd-GmbH-Hannover X-Provags-ID: V02:K0:ZhBQyin/MCkZTF/WwFVs+fq+7xxu13xu6v4g3V4gYdf 6rplFJRtMOwNZ967Lq8mYEAlWjBBtTds6LXRYg2BQlsDOXDaNF S0qWadjQU8Ng45RT0XkL2W+erJo8jY1aBqztpRDjAzmzN3X/yl xAwhk1jwT/HInYkT9AaM3A3PMANiPyPxZWdFfzRK1q5YDx12BI i9M6/7LfYwQTu9YCsSbfhIReXxg2uFxA6cWZmh/PYC9+rOsRKs Fk0PjLrsq4vH8kAj/iRZoRqQK29F321lXfCZ9MUAaqu5x8CGhF MhZorASCYthboLH+PEG1aJro6D0iQgJY5X7cPqZ0MAm2jRsQex OL0c9QI/sWVUwM8pYJWou+0IrXxm3qPIAE2S5vQizoRxicERGy YcNJhyn5aHgJw== Cc: Daniel Gorsulowski Subject: [U-Boot] [PATCH 1/2] at91: defined mach-types for meesc board 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 quotation from Albert ARIBAUD: "Recently the ARM mach-types.h file has been brought in sync with its Linux original, leasing to a number of boards not being listed any more, as the new list only contains boards which have actual Linux support or were declared less than one year ago. The symptom is a build failure with a message of the form "error: 'MACH_TYPE_XXXXXX' undeclared (first use in this function)". U-Boot maintainers of such boards (in Cc: of this mail) should provide a patch to re-introduce the MACH_TYPE_XXXXXX definition in their boards' config header file in include/configs/." Signed-off-by: Daniel Gorsulowski --- include/configs/meesc.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/meesc.h b/include/configs/meesc.h index a2b55d5..ea40290 100644 --- a/include/configs/meesc.h +++ b/include/configs/meesc.h @@ -45,6 +45,14 @@ */ #define CONFIG_SYS_TEXT_BASE 0x20002000 +/* + * since a number of boards are not being listed in linux + * arch/arm/tools/mach-types any more, the mach-types have to be + * defined here + */ +#define MACH_TYPE_MEESC 2165 +#define MACH_TYPE_ETHERCAN2 2407 + /* ARM asynchronous clock */ #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 /* 32.768 kHz crystal */ #define CONFIG_SYS_AT91_MAIN_CLOCK 16000000/* 16.0 MHz crystal */