Hi Tom,

On 12/15/2014 07:00 PM, Tom Rini wrote:
On Mon, Dec 15, 2014 at 04:02:58PM +0200, Dmitry Lifshitz wrote:

On OMAP platforms (like OMAP5) Linux kernel fails to detect a SATA
device if it is used by U-Boot.

It happens because U-Boot does not reset SATA controller before boot.

Reset the controller on OS boot so that Linux will have a clean state
to work with.

Signed-off-by: Dmitry Lifshitz <lifsh...@compulab.co.il>

To be clear, since we're using CMD_SCSI and not CMD_SATA is why we need
this reset sequence here instead of the sata_stop() that say i.MX uses.

You are right, sata_stop() can be used here.

Unfortunately, OMAP SATA access is implemented via SCSI, so I managed to implement this workaround.

Regards,

Dmitry
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to