summaryrefslogtreecommitdiff
path: root/board/lpd7a40x
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-06-09 15:24:18 +0000
committerwdenk <wdenk>2004-06-09 15:24:18 +0000
commit70f05ac34ee02fe37d8bdcb45301104a4fa35e19 (patch)
treec3a684686efeeda07f2f43e3c8c2819135eaecdf /board/lpd7a40x
parent13a5695b7c454d5a2a5a885002cfe0e18536dad9 (diff)
* Patch by Josef Baumgartner, 25 May 2004:
Add missing functions get_ticks() and get_tbclk() in lib_m68k/time.c * Patch by Paul Ruhland, 24 May 2004: fix SDRAM initialization for LPD7A400 board.
Diffstat (limited to 'board/lpd7a40x')
-rw-r--r--board/lpd7a40x/memsetup.S14
1 files changed, 7 insertions, 7 deletions
diff --git a/board/lpd7a40x/memsetup.S b/board/lpd7a40x/memsetup.S
index 09ab5e74c6e..d4e6c6a0e1d 100644
--- a/board/lpd7a40x/memsetup.S
+++ b/board/lpd7a40x/memsetup.S
@@ -108,15 +108,15 @@
/*
* The SDRAM DEVICE MODE PROGRAMMING VALUE
*/
-#define BURST_LENGTH_4 (0x010 << 10)
-#define BURST_LENGTH_8 (0x011 << 10)
-#define WBURST_LENGTH_BL (0x01 << 19)
-#define WBURST_LENGTH_SINGLE (0x01 << 19)
-#define CAS_2 (0x010 << 14)
-#define CAS_3 (0x011 << 14)
+#define BURST_LENGTH_4 (2 << 10)
+#define BURST_LENGTH_8 (3 << 10)
+#define WBURST_LENGTH_BL (0 << 19)
+#define WBURST_LENGTH_SINGLE (1 << 19)
+#define CAS_2 (2 << 14)
+#define CAS_3 (3 << 14)
#define BAT_SEQUENTIAL (0 << 13)
#define BAT_INTERLEAVED (1 << 13)
-#define OPM_NORMAL (0x00 << 17)
+#define OPM_NORMAL (0 << 17)
#define SDRAM_DEVICE_MODE (WBURST_LENGTH_BL|OPM_NORMAL|CAS_3|BAT_SEQUENTIAL|BURST_LENGTH_4)