mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
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>
This commit is contained in:
committed by
Stefano Babic
parent
10ee8ecafb
commit
d957c28a7e
@@ -10,6 +10,8 @@ ulong sata_write(int dev, ulong blknr, lbaint_t blkcnt, const void *buffer);
|
||||
|
||||
int sata_initialize(void);
|
||||
int __sata_initialize(void);
|
||||
int sata_stop(void);
|
||||
int __sata_stop(void);
|
||||
int sata_port_status(int dev, int port);
|
||||
|
||||
extern block_dev_desc_t sata_dev_desc[];
|
||||
|
Reference in New Issue
Block a user