* [U-Boot-Users] [PATCH] MPC5200: Remove CSBOOT / CS0 configuration from start.S
@ 2004-04-13 10:30 Mark Jonas
2004-04-18 23:10 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Mark Jonas @ 2004-04-13 10:30 UTC (permalink / raw)
To: u-boot
Hello,
the attached patch fixes the problem that the current start.S for
MPC5200 contains code to initialize CSBOOT / CS0 timing, bus width and
other configuration.
lis r3, 0x00047800 at h
ori r3, r3, 0x00047800 at l
stw r3, 0x300(r4) /* set timing, CS0/boot conf reg */
Right now that only works because all U-Boot supported MPC5200 boards
are very Lite5200 (aka IceCube 5200) like. Once there is a board which's
Flash is is connected in 24 bits address, 8 bits data, non-multiplexed
mode this will break.
Additionally, the patch removes enabling of the IPBI wait states. This
is not needed because IP bus is not configured to run with > 66 MHz in
U-Boot and if needed this should be done always and not only when
performing a low boot.
Interesting enough U-Boot already has a solution for setting tuned CS0
timings. This is done using the CFG_BOOTCS_CFG define which is applied
in cpu/mpc5xxx/cpu_init.c.
Regards
Mark Jonas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: icecube_no_cs0_config.log
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040413/6e67a7f4/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: icecube_no_cs0_config.stat
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040413/6e67a7f4/attachment-0001.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icecube_no_cs0_config.patch.gz
Type: application/gzip
Size: 728 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040413/6e67a7f4/attachment.bin
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH] MPC5200: Remove CSBOOT / CS0 configuration from start.S
2004-04-13 10:30 [U-Boot-Users] [PATCH] MPC5200: Remove CSBOOT / CS0 configuration from start.S Mark Jonas
@ 2004-04-18 23:10 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-04-18 23:10 UTC (permalink / raw)
To: u-boot
Dear Mark,
in message <407BC152.1060308@motorola.com> you wrote:
>
> * Patch by Mark Jonas, 13 Apr 2004:
> - Remove CS0 chip select timing setting from cpu/mpc5xxx/start.S
Thanks, applied.
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
In 1750 Issac Newton became discouraged when he fell up a flight of
stairs.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-18 23:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13 10:30 [U-Boot-Users] [PATCH] MPC5200: Remove CSBOOT / CS0 configuration from start.S Mark Jonas
2004-04-18 23:10 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox