summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-09-25 16:22:14 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-09-25 16:22:14 +0200
commit0148e8cb4337a2c65a5ed539d0e7b87f2e099329 (patch)
tree91341269c2eb3bd6356e608d8f9a5b910180fe2e /include
parent389db1f113cbc0f81f2a7311fa4114c749c81595 (diff)
downloadu-boot-imx-0148e8cb4337a2c65a5ed539d0e7b87f2e099329.zip
u-boot-imx-0148e8cb4337a2c65a5ed539d0e7b87f2e099329.tar.gz
u-boot-imx-0148e8cb4337a2c65a5ed539d0e7b87f2e099329.tar.bz2
Update multicore CM9XX support for Integrator AP to allow booting from flash
Patch by Jean-Paul Saman, 8 Feb 2005
Diffstat (limited to 'include')
-rw-r--r--include/configs/integratorap.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/configs/integratorap.h b/include/configs/integratorap.h
index ea1158f..25f4682 100644
--- a/include/configs/integratorap.h
+++ b/include/configs/integratorap.h
@@ -43,6 +43,12 @@
#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
#define CONFIG_SETUP_MEMORY_TAGS 1
#define CONFIG_MISC_INIT_R 1 /* call misc_init_r during start up */
+
+#undef CONFIG_INIT_CRITICAL
+#define CONFIG_CM_INIT 1
+#define CONFIG_CM_REMAP 1
+#undef CONFIG_CM_SPD_DETECT
+
/*
* Size of malloc() pool
*/
@@ -284,9 +290,28 @@
#define OS_INIT 0x00000024
#define CMMASK_MAP_SIMPLE 0xFFFDFFFF /* simple mapping */
#define CMMASK_TCRAM_DISABLE 0xFFFEFFFF /* TCRAM disabled */
+#define CMMASK_LOWVEC 0x00000004 /* vectors @ 0x00000000 */
#ifdef CONFIG_CM_SPD_DETECT
#define OS_SPD 0x00000100 /* The SDRAM SPD data is copied here */
#endif
+#if defined (CONFIG_CM10200E) || defined (CONFIG_CM10220E)
+#define CMMASK_INIT_102 0x00000300 /* see CM102xx ref manual
+ * - PLL test clock bypassed
+ * - bus clock ratio 2
+ * - little endian
+ * - vectors at zero
+ */
+#endif /* CM1022xx */
+
+#define CMMASK_LE 0x00000008 /* little endian */
+#define CMMASK_CMxx6_COMMON 0x00000100 /* Common value for CMxx6
+ * - divisor/ratio b00000001
+ * bx
+ * - HCLKDIV b000
+ * bxx
+ * - PLL BYPASS b00
+ */
#endif /* __CONFIG_H */
+