projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d3bd3
)
Fix compilation error for TASREG
author
TsiChung Liew
<Tsi-Chung.Liew@freescale.com>
Fri, 1 Aug 2008 00:53:06 +0000
(19:53 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 1 Aug 2008 10:35:35 +0000
(12:35 +0200)
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
patch
|
blob
|
history
diff --git
a/board/esd/common/flash.c
b/board/esd/common/flash.c
index dca10be1b5ac31a78dd569be906777a0aca80867..bda361ead949ec5c63988729e6b3cd9f2ab15c1c 100644
(file)
--- 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 */