summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-07-31 19:53:06 -0500
committerWolfgang Denk <wd@denx.de>2008-08-01 12:35:35 +0200
commit01ae85b58b51d2fb1fac5b93095f6042cf48ae7b (patch)
treead9babb67469a118b248518432727dfbe986d24f /board
parent35d3bd3cc35c508a6823dac77e0fd126808e4fc7 (diff)
downloadu-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')
-rw-r--r--board/esd/common/flash.c2
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 */