mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00: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:
parent
10ee8ecafb
commit
d957c28a7e
2 changed files with 25 additions and 1 deletions
|
@ -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[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue