Skip to contentSkip to conversation

Fix compilation error for TASREG

PATCH New Tsi-Chung Liew 2 participants 2 messages Aug 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compilation error for TASREG

From: TsiChung Liew <[email protected]>

TASREG is ColdFire platform, the include ppc4xx.h in board/esd/common/flash.c causes conflict.

---
 board/esd/common/flash.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
board/esd/common/flash.c +2 -0
index dca10be..bda361e 100644
@@ -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	*/
Signature · 1 line
1.5.6.4
#1 lore raw

PATCH 1/1 Fix compilation error for TASREG

Quoted 9 lines · In message <[email protected]> you…

From: TsiChung Liew <[email protected]>

TASREG is ColdFire platform, the include ppc4xx.h in board/esd/common/flash.c causes conflict.

---
 board/esd/common/flash.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Matthias, is there any reason to stick at all with that old custom flash driver?

May I please ask you to convert your boards to using the CFI driver for the next U-Boot version, and dump this old driver?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Half of the people in the world are below average.