summaryrefslogtreecommitdiffstats
path: root/drivers/block/fsl_sata.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-11-21 17:10:23 -0600
committerKumar Gala <galak@kernel.crashing.org>2011-11-29 08:48:06 -0600
commitfbc20aab119b70119a2c1db7dfbecb4a6ee0f6a5 (patch)
treec0b8dee0c09e028f869aca7a6122967787c02e2b /drivers/block/fsl_sata.h
parent3e0529f742e893653848494ffb9f7cd0d91304bf (diff)
downloadtalos-obmc-uboot-fbc20aab119b70119a2c1db7dfbecb4a6ee0f6a5.tar.gz
talos-obmc-uboot-fbc20aab119b70119a2c1db7dfbecb4a6ee0f6a5.zip
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>
Diffstat (limited to 'drivers/block/fsl_sata.h')
-rw-r--r--drivers/block/fsl_sata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/fsl_sata.h b/drivers/block/fsl_sata.h
index 576efaf6f5..cecff68da3 100644
--- a/drivers/block/fsl_sata.h
+++ b/drivers/block/fsl_sata.h
@@ -103,6 +103,7 @@ typedef struct fsl_sata_reg {
*/
#define HCONTROL_ONOFF 0x80000000 /* Online or offline request */
#define HCONTROL_FORCE_OFFLINE 0x40000000 /* Force offline request */
+#define HCONTROL_ENTERPRISE_EN 0x10000000 /* Enterprise mode enabled */
#define HCONTROL_HDR_SNOOP 0x00000400 /* Command header snoop */
#define HCONTROL_PMP_ATTACHED 0x00000200 /* Port multiplier attached */
OpenPOWER on IntegriCloud