From 30d56fae23bf830c9f9817a7f151b248a01ebe96 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sat, 9 Oct 2004 22:44:59 +0000 Subject: [PATCH] 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 --- CHANGELOG | 6 ++++++ README | 2 +- drivers/cfi_flash.c | 2 +- include/configs/RPXlite_DW.h | 12 +++++++++--- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index f12e48fdea..ce1e7342a0 100644 --- 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 43539a9b22..f39add7a73 100644 --- 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 diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index cd22d60daa..fcf213cda2 100644 --- a/drivers/cfi_flash.c +++ b/drivers/cfi_flash.c @@ -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'); diff --git a/include/configs/RPXlite_DW.h b/include/configs/RPXlite_DW.h index 369842b13a..d0e427d1c9 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 -- 2.39.5