]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: sata: bootdev scanning for ahci sata with no drive attached
authorTony Dinh <mibodhi@gmail.com>
Sat, 7 Oct 2023 03:34:28 +0000 (20:34 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Oct 2023 17:07:23 +0000 (13:07 -0400)
commit1052920aa987061f4d2aaa768dfe0ba15b6f10f7
tree798e669b565ccf85a7256ca97509f02089ca48b3
parenta7527fbbf20619e16f4b3bf13139f6f9a881b964
bootstd: sata: bootdev scanning for ahci sata with no drive attached

It's normal to have no SATA drive attached to the controller, so return a
successful status when there is no block device found after probing.

Note: this patch depends on the previous patch
https://patchwork.ozlabs.org/project/uboot/patch/20230917230649.30357-1-mibodhi@gmail.com/

Resend the right patch.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/ata/sata.c