arm: omap: reset sata on boot
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Mon, 15 Dec 2014 14:02:58 +0000 (16:02 +0200)
committerTom Rini <trini@ti.com>
Mon, 5 Jan 2015 20:13:47 +0000 (15:13 -0500)
commit87791adc22ecb513e5f34cf51e167d3638da75da
tree20e38cf8fb76ef256a7f38538d517cd98ae3857f
parent8decf5d4a59a538ce918579d63cd7224266091d6
arm: omap: reset sata on boot

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 <lifshitz@compulab.co.il>
Reviewed-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap-common/boot-common.c