]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ColdFire: Fix missing _IO_BASE which caused compile error
authorTsiChung Liew <tsicliew@gmail.com>
Wed, 22 Jul 2009 16:32:39 +0000 (16:32 +0000)
committerTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Wed, 26 Aug 2009 08:40:59 +0000 (03:40 -0500)
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 <tsicliew@gmail.com>
include/asm-m68k/io.h

index 50ea08751f1453ebd256ed1783393b45fc697e2f..531f420336cd447b6781f6a27ae3e9965c010e5c 100644 (file)
 
 #include <asm/byteorder.h>
 
+#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))