diff options
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2008-08-01 00:53:06 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-01 10:35:35 (GMT) |
commit | 01ae85b58b51d2fb1fac5b93095f6042cf48ae7b (patch) | |
tree | ad9babb67469a118b248518432727dfbe986d24f /board | |
parent | 35d3bd3cc35c508a6823dac77e0fd126808e4fc7 (diff) | |
download | u-boot-01ae85b58b51d2fb1fac5b93095f6042cf48ae7b.tar.xz |
Fix compilation error for TASREG
TASREG is ColdFire platform, the include ppc4xx.h in
board/esd/common/flash.c causes conflict.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/esd/common/flash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/esd/common/flash.c b/board/esd/common/flash.c index dca10be..bda361e 100644 --- a/board/esd/common/flash.c +++ b/board/esd/common/flash.c @@ -22,7 +22,9 @@ */ #include <common.h> +#ifdef __PPC__ #include <ppc4xx.h> +#endif #include <asm/processor.h> flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips */ |