
26 Nov
2012
26 Nov
'12
6:04 a.m.
HC_OFF bit in HControl register is read only bit, which should not be written.
Signed-off-by: Roy Zang tie-fei.zang@freescale.com --- check mpc8379, mpc8536, P3041, P5020 and T4240. HC_OFF bit is read only.
drivers/block/fsl_sata.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/block/fsl_sata.c b/drivers/block/fsl_sata.c index fda3389..f647545 100644 --- a/drivers/block/fsl_sata.c +++ b/drivers/block/fsl_sata.c @@ -190,7 +190,6 @@ int init_sata(int dev) /* To have safe state, force the controller offline */ val32 = in_le32(®->hcontrol); val32 &= ~HCONTROL_ONOFF; - val32 |= HCONTROL_FORCE_OFFLINE; out_le32(®->hcontrol, val32);
/* Wait the controller offline */
--
1.7.8.1