From: TsiChung Liew Date: Fri, 1 Aug 2008 00:53:06 +0000 (-0500) Subject: Fix compilation error for TASREG X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=01ae85b58b51d2fb1fac5b93095f6042cf48ae7b;p=u-boot.git 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 --- diff --git a/board/esd/common/flash.c b/board/esd/common/flash.c index dca10be1b5..bda361ead9 100644 --- a/board/esd/common/flash.c +++ b/board/esd/common/flash.c @@ -22,7 +22,9 @@ */ #include +#ifdef __PPC__ #include +#endif #include flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips */