[U-Boot-Users] ppc440: EBC 32-bit bus width setting

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.

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@denx.de =====================================================================
participants (2)
-
Andrew E. Mileski
-
Stefan Roese