summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-03-31 17:27:09 +0000
committerwdenk <wdenk>2003-03-31 17:27:09 +0000
commit0db5bca8076998a7516102988ac976a2da28d531 (patch)
treea722fe95ad378dea8b2ec9777744dc0a4a8d72a3 /include/common.h
parent85ec0bcc1bc40a67368461fee0435d79305168b1 (diff)
downloadu-boot-imx-0db5bca8076998a7516102988ac976a2da28d531.zip
u-boot-imx-0db5bca8076998a7516102988ac976a2da28d531.tar.gz
u-boot-imx-0db5bca8076998a7516102988ac976a2da28d531.tar.bz2
* Patch by Martin Winistoerfer, 23 Mar 2003
- Add port to MPC555/556 microcontrollers - Add support for cmi customer board with Intel 28F128J3A, 28F320J3A or 28F640J3A flash. * Patch by Rick Bronson, 28 Mar 2003: - fix common/cmd_nand.c
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index ac2a57d..0d7f79a 100644
--- a/include/common.h
+++ b/include/common.h
@@ -43,6 +43,8 @@ typedef volatile unsigned char vu_char;
#endif
#ifdef CONFIG_8xx
#include <asm/8xx_immap.h>
+#elif defined(CONFIG_5xx)
+#include <asm/5xx_immap.h>
#elif defined(CONFIG_8260)
#include <asm/immap_8260.h>
#endif
@@ -241,7 +243,8 @@ int testdram(void);
#endif /* CFG_DRAM_TEST */
/* $(CPU)/start.S */
-#ifdef CONFIG_8xx
+#if defined(CONFIG_5xx) || \
+ defined(CONFIG_8xx)
uint get_immr (uint);
#endif
uint get_pvr (void);
@@ -370,6 +373,7 @@ ulong video_setmem (ulong);
/* ppc/cache.c */
void flush_cache (unsigned long, unsigned long);
+
/* ppc/ticks.S */
unsigned long long get_ticks(void);
void wait_ticks (unsigned long);