mirror of
https://xff.cz/git/u-boot/
synced 2025-10-16 23:42:00 +02:00
dm: sata: Support driver model with the 'sata' command
Update this command to support driver model. This has a different way of starting and stopping SATA. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Jaehoon Chung
parent
752126a05a
commit
f19f1ecb60
@@ -2,7 +2,7 @@
|
||||
#define __SATA_H__
|
||||
#include <part.h>
|
||||
|
||||
#if !defined(CONFIG_DM_SCSI)
|
||||
#if !defined(CONFIG_DM_SCSI) && !defined(CONFIG_AHCI)
|
||||
int init_sata(int dev);
|
||||
int reset_sata(int dev);
|
||||
int scan_sata(int dev);
|
||||
@@ -18,4 +18,7 @@ int sata_port_status(int dev, int port);
|
||||
extern struct blk_desc sata_dev_desc[];
|
||||
#endif
|
||||
|
||||
int sata_probe(int devnum);
|
||||
int sata_remove(int devnum);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user