* [U-Boot-Users] [Pacth]Some fixes on RPXlite DW
[not found] <E1BtI7s-0006sW-94@sc8-sf-list1.sourceforge.net>
@ 2004-08-21 10:15 ` Sam Song
2004-10-09 22:42 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Sam Song @ 2004-08-21 10:15 UTC (permalink / raw)
To: u-boot
Hi,
I got a nudge from some folk chatting with Wolfgang
about RESET and did this patch. All for RPXlite_DW
board.
* Patch by Sam Song, 21 August 2004:
- Add RESET support for RPXlite_DW board
- Adjust CPU:BUS frequency rato 1:1 when core
frequency less than 50MHz
Best regards,
Sam
===================================================
diff -purN
u-boot-2004-08-18-2000-orig/include/configs/RPXlite_DW.h
u-boot-2004-08-18-2000/include/configs/RPXlite_DW.h
---
u-boot-2004-08-18-2000-orig/include/configs/RPXlite_DW.h
Sat Aug 21 17:10:22 2004
+++
u-boot-2004-08-18-2000/include/configs/RPXlite_DW.h
Sat Aug 21 17:20:25 2004
@@ -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,9 +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
*-----------------------------------------------------------------------
_________________________________________________________
Do You Yahoo!?
150??MP3????????????
http://music.yisou.com/
???????????????????
http://image.yisou.com
1G??1000???????????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [Pacth]Some fixes on RPXlite DW
2004-08-21 10:15 ` [U-Boot-Users] [Pacth]Some fixes on RPXlite DW Sam Song
@ 2004-10-09 22:42 ` Wolfgang Denk
2004-10-10 5:18 ` Sam Song
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2004-10-09 22:42 UTC (permalink / raw)
To: u-boot
In message <20040821101509.30531.qmail@web15607.mail.cnb.yahoo.com> you wrote:
>
> * Patch by Sam Song, 21 August 2004:
> - Add RESET support for RPXlite_DW board
> - Adjust CPU:BUS frequency rato 1:1 when core
> frequency less than 50MHz
Added.
[And again I had to add it all manually. Arghhh....
PLEASE FIX YOUR MAILER! ]
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
A well-written program is its own heaven; a poorly-written program is
its own hell. -- Geoffrey James, "The Tao of Programming"
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [Pacth]Some fixes on RPXlite DW
2004-10-09 22:42 ` Wolfgang Denk
@ 2004-10-10 5:18 ` Sam Song
0 siblings, 0 replies; 3+ messages in thread
From: Sam Song @ 2004-10-10 5:18 UTC (permalink / raw)
To: u-boot
Wolfgang Denk <wd@denx.de> wrote?
> [And again I had to add it all manually. Arghhh....
>
> PLEASE FIX YOUR MAILER! ]
I feel so sorry to make you suffering from that. OK,
pls don't apply two patches I just did. I will resend
them later.
=====
Best regards,
Sam
_________________________________________________________
Do You Yahoo!?
150??MP3????????????
http://music.yisou.com/
???????????????????
http://image.yisou.com
1G??1000???????????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-10-10 5:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1BtI7s-0006sW-94@sc8-sf-list1.sourceforge.net>
2004-08-21 10:15 ` [U-Boot-Users] [Pacth]Some fixes on RPXlite DW Sam Song
2004-10-09 22:42 ` Wolfgang Denk
2004-10-10 5:18 ` Sam Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox