cmd_sata: implement sata stop command
authorNikita Kiryanov <nikita@compulab.co.il>
Fri, 21 Nov 2014 10:47:24 +0000 (12:47 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 24 Nov 2014 11:00:00 +0000 (12:00 +0100)
commitd957c28a7eb0e5a28e9541a64ab3536831d63ec5
treebd855ddf27f74c7f17c1193793649fb6eef0dc99
parent10ee8ecafbb4405ac77f6df081325630617aa7cd
cmd_sata: implement sata stop command

Implement sata stop command.
This introduces the __sata_stop() weak function, which mirrors
the weak __sata_initialize() function, giving users the option of
undoing the custom steps performed in overrides of sata_initialize().

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@ti.com>
common/cmd_sata.c
include/sata.h