powerpc/85xx: always implement the work-around for Erratum SATA_A001
authorTimur Tabi <timur@freescale.com>
Mon, 21 Nov 2011 23:10:23 +0000 (17:10 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 29 Nov 2011 14:48:06 +0000 (08:48 -0600)
commitfbc20aab119b70119a2c1db7dfbecb4a6ee0f6a5
treec0b8dee0c09e028f869aca7a6122967787c02e2b
parent3e0529f742e893653848494ffb9f7cd0d91304bf
powerpc/85xx: always implement the work-around for Erratum SATA_A001

On the P1022/P1013, the work-around for erratum SATA_A001 was implemented
only if U-Boot initializes SATA, but SATA is not initialized by default.  So
move the work-around to the CPU initialization function, so that it's always
executed on the SOCs that need it.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu_init.c
drivers/block/fsl_sata.c
drivers/block/fsl_sata.h