summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2007-01-09 14:57:13 +0100
committerMarkus Klotzbuecher <mk@pollux.denx.de>2007-01-09 14:57:13 +0100
commit9295acb77481cf099ef9b40e1fa2d145b3c7490c (patch)
tree0a64a50ca019bcf555eb6a18a5b69a647a58c37b /include/configs
parent38ccd2fdf3364a53fe80e9b365303ecdafc9e223 (diff)
downloadu-boot-imx-9295acb77481cf099ef9b40e1fa2d145b3c7490c.zip
u-boot-imx-9295acb77481cf099ef9b40e1fa2d145b3c7490c.tar.gz
u-boot-imx-9295acb77481cf099ef9b40e1fa2d145b3c7490c.tar.bz2
SPC1920: add support for the FM18L08 Ramtron FRAM
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/spc1920.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/configs/spc1920.h b/include/configs/spc1920.h
index 8f5eace..0b07a45 100644
--- a/include/configs/spc1920.h
+++ b/include/configs/spc1920.h
@@ -392,10 +392,23 @@
#endif /* CONFIG_SPC1920_HPI_TEST */
/*
+ * Ramtron FM18L08 FRAM 32KB on CS4
+ */
+#define CFG_SPC1920_FRAM_BASE 0x80100000
+#define CFG_PRELIM_OR4_AM 0xffff8000
+#define CFG_OR4_PRELIM (CFG_PRELIM_OR4_AM | \
+ OR_ACS_DIV2 | \
+ OR_BI | \
+ OR_SCY_4_CLK | \
+ OR_TRLX)
+
+#define CFG_BR4_PRELIM ((CFG_SPC1920_FRAM_BASE & BR_BA_MSK) | BR_PS_8 | BR_V);
+
+/*
* PLD CS5
*/
#define CFG_SPC1920_PLD_BASE 0x80000000
-#define CFG_PRELIM_OR5_AM 0xfff00000
+#define CFG_PRELIM_OR5_AM 0xffff8000
#define CFG_OR5_PRELIM (CFG_PRELIM_OR5_AM | \
OR_CSNT_SAM | \