From patchwork Tue Jul 28 16:38:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: TsiChung Liew X-Patchwork-Id: 71666 Return-Path: X-Original-To: wd@gemini.denx.de Delivered-To: wd@gemini.denx.de Received: from diddl.denx.de (diddl.denx.de [10.0.0.6]) by gemini.denx.de (Postfix) with ESMTP id 86C34832E416 for ; Tue, 28 Jul 2009 23:39:14 +0200 (CEST) Received: from diddl.denx.de (localhost.localdomain [127.0.0.1]) by diddl.denx.de (Postfix) with ESMTP id 77E74C913181 for ; Tue, 28 Jul 2009 23:39:14 +0200 (CEST) Received: from pop.mnet-online.de by diddl.denx.de with POP3 (fetchmail-6.3.8) for (single-drop); Tue, 28 Jul 2009 23:39:14 +0200 (CEST) Received: from murder (svr19.m-online.net [192.168.3.147]) by backend2 (Cyrus v2.2.12) with LMTPA; Tue, 28 Jul 2009 23:40:33 +0200 X-Sieve: CMU Sieve 2.2 Received: from mail.m-online.net (localhost [127.0.0.1]) by frontend3.pop.m-online.net (Cyrus v2.2.13) with LMTPA; Tue, 28 Jul 2009 23:38:53 +0200 Received: from scanner-3.m-online.net (scanner-3.m-online.net [192.168.1.20]) by mail.m-online.net (Postfix) with ESMTP id 522F72004C2; Tue, 28 Jul 2009 23:38:53 +0200 (CEST) Received: from mxin-1.m-online.net ([192.168.1.21]) by scanner-3.m-online.net (scanner-3.m-online.net [192.168.1.20]) (amavisd-new, port 10026) with ESMTP id 12714-04; Tue, 28 Jul 2009 23:38:52 +0200 (CEST) Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by mxin-2.m-online.net (Postfix) with ESMTP id B692F46C0B7; Tue, 28 Jul 2009 23:38:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 465A4280ED; Tue, 28 Jul 2009 23:38:49 +0200 (CEST) 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 rx7fP3ykpNGi; Tue, 28 Jul 2009 23:38:49 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8C86828111; Tue, 28 Jul 2009 23:38:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 099BD280ED for ; Tue, 28 Jul 2009 23:38:41 +0200 (CEST) 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 Ge8TjRHOO3Ms for ; Tue, 28 Jul 2009 23:38:39 +0200 (CEST) Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) by theia.denx.de (Postfix) with ESMTP id B713D280CB for ; Tue, 28 Jul 2009 23:38:38 +0200 (CEST) Received: from az33smr01.freescale.net (az33smr01.freescale.net [10.64.34.199]) by az33egw02.freescale.net (8.14.3/az33egw02) with ESMTP id n6SLcaan000906 for ; Tue, 28 Jul 2009 14:38:36 -0700 (MST) Received: from localhost.localdomain (vmushu.am.freescale.net [10.81.64.6]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id n6SLcjWM010345 for ; Tue, 28 Jul 2009 16:38:45 -0500 (CDT) From: TsiChung Liew To: U-Boot Date: Tue, 28 Jul 2009 16:38:17 +0000 Message-Id: <1248799097-29676-1-git-send-email-tsicliew@gmail.com> X-Mailer: git-send-email 1.5.6.4 X-Brightmail-Tracker: AAAAAQAAAWE= Subject: [U-Boot] [PATCH] ColdFire: Fix missing _IO_BASE which caused compile error 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 X-Virus-Scanned: by amavisd-new at m-online.net The compile error was caused by a recent patch. Affected platforms - M5253DEMO.h, M5253EVBE.h, and M54455EVB.h. Adding the _IO_BASE automatically defined to 0 in asm-m68k/io.h if it isn't set in platform configuration file. Signed-off-by: TsiChung Liew --- include/asm-m68k/io.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/asm-m68k/io.h b/include/asm-m68k/io.h index 50ea087..531f420 100644 --- a/include/asm-m68k/io.h +++ b/include/asm-m68k/io.h @@ -28,6 +28,10 @@ #include +#ifndef _IO_BASE +#define _IO_BASE 0 +#endif + #define __raw_readb(addr) (*(volatile u8 *)(addr)) #define __raw_readw(addr) (*(volatile u16 *)(addr)) #define __raw_readl(addr) (*(volatile u32 *)(addr))