]> git.sur5r.net Git - u-boot/commit
sata: fix reset_sata for dwc_ahsata
authorSoeren Moch <smoch@web.de>
Thu, 27 Nov 2014 09:11:41 +0000 (10:11 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 1 Dec 2014 09:20:19 +0000 (10:20 +0100)
commitdd1c8f1b5fb63a682fce62a53464108d8587b0a2
tree7292a7f3b4a7f845cffa229c6c1a653d63994323
parentf8bbd7f7b0c6eb3accc30deab9aafb2c50f9ee9a
sata: fix reset_sata for dwc_ahsata

- fix crash when sata device is not initialized
- remove disable_sata_clock() since it is not clear which clock for which
  device should be disabled here
- call disable_sata_clock() for mx6 in preboot_os instead

Signed-off-by: Soeren Moch <smoch@web.de>
Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
arch/arm/imx-common/cpu.c
drivers/block/dwc_ahsata.c