]> git.ipfire.org Git - people/ms/u-boot.git/commit
ppc4xx: PPC44x MQ initialization
authorYuri Tikhonov <yur@emcraft.com>
Fri, 17 Oct 2008 10:54:18 +0000 (12:54 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 17 Oct 2008 11:02:42 +0000 (13:02 +0200)
commitbf29e0ea0af03d593c64614136acc723a7a022a2
tree118a069b493e29e96192ac1d50c08d913509d6da
parentf7d190b1c0b3ab7fc53074ad2862f7de99de37ff
ppc4xx: PPC44x MQ initialization

Set the MQ Read Passing & MCIF Cycle limits to the recommended by AMCC
values. This fixes the occasional 440SPe hard locking issues when the 440SPe's
dedicated DMA engines are used (e.g. by the h/w accelerated RAID driver).

Previously the appropriate initialization had been made in Linux, by the
ppc440spe ADMA driver, which is wrong because modifying the MQ configuration
registers after normal operation has begun is not supported and could
have unpredictable results.

Comment from Stefan: This patch doesn't change the resulting value of the
MQ registers. It explicitly sets/clears all bits to the desired state which
better documents the resulting register value instead of relying on pre-set
default values.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/44x_spd_ddr2.c
include/asm-ppc/ppc4xx-sdram.h