[RFC v2 07/20] sata: call device_probe() after scanning

Simon Glass sjg at chromium.org
Mon Dec 13 13:51:41 CET 2021


On Fri, 10 Dec 2021 at 00:25, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> Every time a sata bus/port is scanned and a new device is detected,
> we want to call device_probe() as it will give us a chance to run
> additional post-processings for some purposes.
>
> In particular, support for creating partitions on a device will be added.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
>  drivers/ata/dwc_ahsata.c |  5 +++++
>  drivers/ata/fsl_sata.c   | 11 +++++++++++
>  drivers/ata/sata_mv.c    |  5 +++++
>  drivers/ata/sata_sil.c   | 12 ++++++++++++
>  4 files changed, 33 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list