[U-Boot] [PATCH] fsl/sata: remove read only bit writing in host control register
Roy Zang
tie-fei.zang at freescale.com
Mon Nov 26 06:04:02 CET 2012
HC_OFF bit in HControl register is read only bit, which
should not be written.
Signed-off-by: Roy Zang <tie-fei.zang at 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
More information about the U-Boot
mailing list