diff options
author | Tony Dinh | 2023-10-11 13:26:42 -0700 |
---|---|---|
committer | Tom Rini | 2023-10-23 13:07:12 -0400 |
commit | a7527fbbf20619e16f4b3bf13139f6f9a881b964 (patch) | |
tree | bbce5bd54f94c777a7b8acfe3aec28890fed0c26 /include/sata.h | |
parent | 7a790f018a812b5897fc144c46291de8df633429 (diff) |
bootstd: sata: Add bootstd support for ahci sata
Add ahci sata bootdev and corresponding hunting function.
Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/sata.h')
-rw-r--r-- | include/sata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sata.h b/include/sata.h index d89f7a8a298..6111cf65d9d 100644 --- a/include/sata.h +++ b/include/sata.h @@ -21,4 +21,10 @@ extern struct blk_desc sata_dev_desc[]; int sata_probe(int devnum); int sata_remove(int devnum); +/* + * Remove existing AHCI SATA device uclass and all of its children, + * if any, and probe it again. + */ +int sata_rescan(bool verbose); + #endif |