* [U-Boot-Users] ppc440: EBC 32-bit bus width setting
@ 2008-04-23 21:45 Andrew E. Mileski
2008-04-24 5:19 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Andrew E. Mileski @ 2008-04-23 21:45 UTC (permalink / raw)
To: u-boot
This affects EBC_BXCR_BW_32BIT defined in include/ppc440.h
According to the AMCC 440EPx User Manual (v1.14), pg 591, figure 22-18,
BW (bits 17:18) should be 10 for a 32-bit bus width. This is also
repeated for the NAND controller, section 23.4.5 on pg 600.
According to the IBM 440GX User's Manual (November 21, 2003), pg 1037,
figure 30-23, BW (bits 17:18) should be 11. A rather old manual.
Can others help confirm the settings for these processors and other 440
family members.
Thanks.
--
Andrew E. Mileski
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] ppc440: EBC 32-bit bus width setting
2008-04-23 21:45 [U-Boot-Users] ppc440: EBC 32-bit bus width setting Andrew E. Mileski
@ 2008-04-24 5:19 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2008-04-24 5:19 UTC (permalink / raw)
To: u-boot
On Wednesday 23 April 2008, Andrew E. Mileski wrote:
> This affects EBC_BXCR_BW_32BIT defined in include/ppc440.h
>
> According to the AMCC 440EPx User Manual (v1.14), pg 591, figure 22-18,
> BW (bits 17:18) should be 10 for a 32-bit bus width. This is also
> repeated for the NAND controller, section 23.4.5 on pg 600.
>
> According to the IBM 440GX User's Manual (November 21, 2003), pg 1037,
> figure 30-23, BW (bits 17:18) should be 11. A rather old manual.
>
> Can others help confirm the settings for these processors and other 440
> family members.
I suspect that both manuals are correct and the register bit setting are
incompatible. Best would be if you send a patch to fix this in U-Boot.
Something like:
#if defined(CONFIG_440GX)
#define EBC_BXCR_BW_32BIT 0x00006000
#else
#define EBC_BXCR_BW_32BIT 0x00004000
#endif
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-24 5:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 21:45 [U-Boot-Users] ppc440: EBC 32-bit bus width setting Andrew E. Mileski
2008-04-24 5:19 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox