From a7527fbbf20619e16f4b3bf13139f6f9a881b964 Mon Sep 17 00:00:00 2001 From: Tony Dinh Date: Wed, 11 Oct 2023 13:26:42 -0700 Subject: bootstd: sata: Add bootstd support for ahci sata Add ahci sata bootdev and corresponding hunting function. Signed-off-by: Tony Dinh Reviewed-by: Simon Glass Reviewed-by: Stefan Roese --- include/sata.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/sata.h') 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 -- cgit v1.2.3