diff options
author | TsiChung Liew <tsicliew@gmail.com> | 2009-07-22 16:32:39 +0000 |
---|---|---|
committer | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2009-08-26 03:40:59 -0500 |
commit | 88c811b153771a3d1bfe958297c69722efb278e9 (patch) | |
tree | da24da0e37be12bcc3986f409168d6ee7359b314 /include | |
parent | d3870bd2d832ea2048b7cb2bbb9d642585b137cf (diff) | |
download | u-boot-imx-88c811b153771a3d1bfe958297c69722efb278e9.zip u-boot-imx-88c811b153771a3d1bfe958297c69722efb278e9.tar.gz u-boot-imx-88c811b153771a3d1bfe958297c69722efb278e9.tar.bz2 |
ColdFire: Fix missing _IO_BASE which caused compile error
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>
Diffstat (limited to 'include')
-rw-r--r-- | 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 <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)) |