From 01ae85b58b51d2fb1fac5b93095f6042cf48ae7b Mon Sep 17 00:00:00 2001
From: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Date: Thu, 31 Jul 2008 19:53:06 -0500
Subject: [PATCH] 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>
---
 board/esd/common/flash.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/esd/common/flash.c b/board/esd/common/flash.c
index dca10be1b5a..bda361ead94 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	*/
-- 
GitLab