summaryrefslogtreecommitdiff
path: root/include/configs/RPXlite_DW.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-09 22:44:59 +0000
committerwdenk <wdenk>2004-10-09 22:44:59 +0000
commit30d56fae23bf830c9f9817a7f151b248a01ebe96 (patch)
tree331d303b7168827f469c141ee143a4a1e0be4658 /include/configs/RPXlite_DW.h
parent63cfcbb4e20b9091e20d397fd9fee480996424d4 (diff)
downloadu-boot-imx-30d56fae23bf830c9f9817a7f151b248a01ebe96.zip
u-boot-imx-30d56fae23bf830c9f9817a7f151b248a01ebe96.tar.gz
u-boot-imx-30d56fae23bf830c9f9817a7f151b248a01ebe96.tar.bz2
Patch by Sam Song, 21 August 2004:
- Fix a typo in README - Align "(RO)" output for "flinfo" after "protect on" - Add RESET support for RPXlite_DW board; adjust CPU:BUS frequency ratio 1:1 when core frequency less than 50MHz
Diffstat (limited to 'include/configs/RPXlite_DW.h')
-rw-r--r--include/configs/RPXlite_DW.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/configs/RPXlite_DW.h b/include/configs/RPXlite_DW.h
index 369842b..d0e427d 100644
--- a/include/configs/RPXlite_DW.h
+++ b/include/configs/RPXlite_DW.h
@@ -82,8 +82,8 @@
"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0" \
"gatewayip=172.16.115.254\0" \
"netmask=255.255.255.0\0" \
- "kernel_addr=ff880000\0" \
- "ramdisk_addr=ff980000\0" \
+ "kernel_addr=ff080000\0" \
+ "ramdisk_addr=ff200000\0" \
""
#define CONFIG_BOOTCOMMAND "run flash_self"
@@ -178,6 +178,8 @@
#define CFG_ENV_SIZE 0x8000 /* Total Size of Environment Sector */
#endif
+#define CFG_RESET_ADDRESS ((ulong)((((immap_t *)CFG_IMMR)->im_clkrst.res)))
+
/*-----------------------------------------------------------------------
* Cache Configuration
*/
@@ -249,8 +251,12 @@
* power management and some other internal clocks
*/
#define SCCR_MASK SCCR_EBDF00
-/* Up to 64MHz system clock, we use 1:2 SYSTEM/BUS ratio */
+/* Up to 48MHz system clock, we use 1:1 SYSTEM/BUS ratio */
+#if defined(RPXlite_64MHz)
#define CFG_SCCR ( SCCR_TBS | SCCR_EBDF01 ) /* %%%SCCR:0x02020000 */
+#else
+#define CFG_SCCR ( SCCR_TBS | SCCR_EBDF00 ) /* %%%SCCR:0x02000000 */
+#endif
/*-----------------------------------------------------------------------
* PCMCIA stuff