diff options
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2008-07-31 19:53:06 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-01 12:35:35 +0200 |
commit | 01ae85b58b51d2fb1fac5b93095f6042cf48ae7b (patch) | |
tree | ad9babb67469a118b248518432727dfbe986d24f /board/esd | |
parent | 35d3bd3cc35c508a6823dac77e0fd126808e4fc7 (diff) | |
download | u-boot-imx-01ae85b58b51d2fb1fac5b93095f6042cf48ae7b.zip u-boot-imx-01ae85b58b51d2fb1fac5b93095f6042cf48ae7b.tar.gz u-boot-imx-01ae85b58b51d2fb1fac5b93095f6042cf48ae7b.tar.bz2 |
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/esd')
-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 */ |