summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6/cpu/spc300/nvram.S
diff options
context:
space:
mode:
authorMSE500 Team2012-03-22 16:35:00 +0100
committerNicolas Schodet2012-05-09 10:41:11 +0200
commitf90d1c90f65217429e0f585dd8104a58a9c3974e (patch)
tree1a153feedf78f0bd271cfa06b79a969a40713dfd /cleopatre/u-boot-1.1.6/cpu/spc300/nvram.S
parentfa87405fb517806231ed85234c1c11e8a2ff3cbc (diff)
cleo/u-boot: add support for MIU controller, refs #2758
Diffstat (limited to 'cleopatre/u-boot-1.1.6/cpu/spc300/nvram.S')
-rw-r--r--cleopatre/u-boot-1.1.6/cpu/spc300/nvram.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/cleopatre/u-boot-1.1.6/cpu/spc300/nvram.S b/cleopatre/u-boot-1.1.6/cpu/spc300/nvram.S
index 92c4a3b28d..f21a751025 100644
--- a/cleopatre/u-boot-1.1.6/cpu/spc300/nvram.S
+++ b/cleopatre/u-boot-1.1.6/cpu/spc300/nvram.S
@@ -107,10 +107,19 @@ nvram_dft:
.word 0x00000000 /* gpio_0_7_cfg */
.word 0x00000000 /* gpio_8_15_cfg */
.word 0xffffffff /* gpio_allow_dir*/
+#if defined (CONFIG_CHIP_FEATURE_SDRAM_CTRL)
.word 0x001c3168 /* sdram_config */
.word 0x022a569a /* sdram_timing0 */
.word 0x00070008 /* sdram_timing1 */
.word 0x00000410 /* sdram_refresh */
+#elif defined (CONFIG_CHIP_FEATURE_MIU_CTRL)
+ .word 0 /* miu_config */
+ .word 0 /* miu_ram_size */
+ .word 0
+ .word 0
+#else
+# error "Unknown DRAM controller"
+#endif
.word 0x00000007 /* flash_org */
.word 0x00140000 /* img_0_offset */
.word 0x00000001 /* nb_images */