[PATCH v4] bootstd: sata: Add bootstd support for ahci sata
Simon Glass
sjg at chromium.org
Fri Sep 22 20:27:24 CEST 2023
On Sun, 17 Sept 2023 at 17:07, Tony Dinh <mibodhi at gmail.com> wrote:
>
> Add ahci sata bootdev and corresponding hunting function.
>
> Signed-off-by: Tony Dinh <mibodhi at gmail.com>
> ---
>
> Changes in v4:
> - Revise logic in bootmeth_script() to set devtype to sata for non-scsi
> SATA device
> - Rewrite sata_rescan() logic to properly remove all devices before probing
> - Add description to sata_rescan() header
>
> Changes in v3:
> - Correct drivers/ata/Makefile to compile sata_bootdev only if
> ahci sata is enabled.
>
> Changes in v2:
> - set devtype to sata in bootmeth_script for non-scsi SATA device.
>
> boot/bootmeth_script.c | 14 +++++++--
> drivers/ata/Makefile | 2 +-
> drivers/ata/sata.c | 32 ++++++++++++++++++++
> drivers/ata/sata_bootdev.c | 62 ++++++++++++++++++++++++++++++++++++++
> include/sata.h | 6 ++++
> 5 files changed, 112 insertions(+), 4 deletions(-)
> create mode 100644 drivers/ata/sata_bootdev.c
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list