fsl_sata: Add the workaround for errata SATA-A001
authorDave Liu <daveliu@freescale.com>
Mon, 12 Apr 2010 06:23:25 +0000 (14:23 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 27 Apr 2010 03:37:54 +0000 (22:37 -0500)
commite4773debb735323a9eedf353239e8e88e03d7c58
tree3369f186c8ee74fa3e6bcc1e8abcddfc593bb17c
parent99bac479dd183529f4e259a0de8d31644219d487
fsl_sata: Add the workaround for errata SATA-A001

After power on, the SATA host controller of P1022 Rev1 is configured
in legacy mode instead of the expected enterprise mode.

Software needs to clear bit[28] of HControl register to change to
enterprise mode after bringing the host offline.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/block/fsl_sata.c