]> git.sur5r.net Git - u-boot/commitdiff
Patch by Sam Song, 21 August 2004:
authorwdenk <wdenk>
Sat, 9 Oct 2004 22:44:59 +0000 (22:44 +0000)
committerwdenk <wdenk>
Sat, 9 Oct 2004 22:44:59 +0000 (22:44 +0000)
- 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

CHANGELOG
README
drivers/cfi_flash.c
include/configs/RPXlite_DW.h

index f12e48fdeaef51fb6da27927fe2a40e253dc68a1..ce1e7342a0a05859f7e13a4b7767a84148dcbee5 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,12 @@
 Changes since U-Boot 1.1.1:
 ======================================================================
 
+* 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
+
 * Patches by himba, 21 Aug 2004:
   - fix some "use of label at end of compound statement" warnings
   - Define type of LCD panel on lubbock board if CONFIG_LCD is used
diff --git a/README b/README
index 43539a9b224620e02f42ab24199a40d01afc30d3..f39add7a73006592f0675dd7e53ee541d6e54eb8 100644 (file)
--- a/README
+++ b/README
@@ -787,7 +787,7 @@ The following options need to be configured:
                supported (PIP405, MIP405, MPC5200); define
                CONFIG_USB_UHCI to enable it.
                define CONFIG_USB_KEYBOARD to enable the USB Keyboard
-               end define CONFIG_USB_STORAGE to enable the USB
+               and define CONFIG_USB_STORAGE to enable the USB
                storage devices.
                Note:
                Supported are USB Keyboards and USB Floppy drives
index cd22d60daa232ed3df63f9a6f56946b26ed4a4c9..fcf213cda29e7f9c790f48fd8f070e0680919666 100644 (file)
@@ -462,7 +462,7 @@ void flash_print_info (flash_info_t * info)
                if ((i % 5) == 0)
                        printf ("\n   ");
                printf (" %08lX%s",
-                       info->start[i], info->protect[i] ? " (RO)" : "     ");
+                       info->start[i], info->protect[i] ? " (RO)  " : "     ");
 #endif
        }
        putc ('\n');
index 369842b13a86291c2009939172c5db11cb224f38..d0e427d1c96efeecd1a0ab20721f1be4eb203a3e 100644 (file)
@@ -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"
 
 #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
  */
  * 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