u-boot-brain/cpu
Dave Liu ae5f943ba8 85xx: Fix the incorrect register used for DDR erratum1
The 8572 DDR erratum1:
DDR controller may enter an illegal state when operating
in 32-bit bus mode with 4-beat bursts.

Description:
When operating with a 32-bit bus, it is recommended that
DDR_SDRAM_CFG[8_BE] is cleared when DDR2 memories are used.
This forces the DDR controller to use 4-beat bursts when
communicating to the DRAMs. However, an issue exists that
could lead to data corruption when the DDR controller is
in 32-bit bus mode while using 4-beat bursts.

Projected Impact:
If the DDR controller is operating in 32-bit bus mode with
4-beat bursts, then the controller may enter into a bad state.
All subsequent reads from memory is corrupted.
Four-beat bursts with a 32-bit bus only is used with DDR2 memories.
Therefore, this erratum does not affect DDR3 mode.

Work Arounds:
To work around this issue, software must set DEBUG_1[31] in
DDR memory mapped space (CCSRBAR offset + 0x2f00 for DDR_1
and CCSRBAR offset + 0x6f00 for DDR_2).

Currenlty, the code is using incorrect register DDR_SDRAM_CFG_2
as condition, but it should be DDR_SDRAM_CFG register.

Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-10-24 17:29:37 -05:00
..
74xx_7xx rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm_intcm rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm720t rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm920t Merge git://git.denx.de/u-boot into x1 2008-10-21 09:18:01 +02:00
arm925t rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm926ejs rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm946es rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm1136 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm1176 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
at32ap rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
blackfin rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
i386 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ixp Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
leon2 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
leon3 Merge git://git.denx.de/u-boot into x1 2008-10-21 09:18:01 +02:00
lh7a40x rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mcf52x2 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mcf523x Use strmhz() to format clock frequencies 2008-10-21 11:25:38 +02:00
mcf532x Use strmhz() to format clock frequencies 2008-10-21 11:25:38 +02:00
mcf547x_8x Use strmhz() to format clock frequencies 2008-10-21 11:25:38 +02:00
mcf5227x Use strmhz() to format clock frequencies 2008-10-21 11:25:38 +02:00
mcf5445x Use strmhz() to format clock frequencies 2008-10-21 11:25:38 +02:00
microblaze rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mips Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
mpc5xx rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc5xxx Use strmhz() to format clock frequencies 2008-10-21 11:25:38 +02:00
mpc8xx Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
mpc8xxx/ddr Add debug information for DDR controller registers 2008-10-18 21:54:05 +02:00
mpc83xx mpc83xx: Removed #ifdef CONFIG_MPC834X dependency on upmconfig function 2008-10-21 18:41:04 -05:00
mpc85xx 85xx: Fix the incorrect register used for DDR erratum1 2008-10-24 17:29:37 -05:00
mpc86xx rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc512x Use strmhz() to format clock frequencies 2008-10-21 11:25:38 +02:00
mpc824x rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc8220 Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
mpc8260 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
nios rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
nios2 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ppc4xx Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx 2008-10-21 21:19:35 +02:00
pxa rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
s3c44b0 Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
sa1100 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
sh2 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
sh3 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
sh4 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00