[PATCH 2/4] mx53loco: Convert to driver model

Tom Rini trini at konsulko.com
Mon Feb 15 14:13:09 CET 2021


On Sun, Feb 14, 2021 at 03:58:56PM -0300, Fabio Estevam wrote:
> On Sun, Feb 14, 2021 at 11:26 AM Tom Rini <trini at konsulko.com> wrote:
> 
> > Where is something missing for SATA support?  With DM enabled, you can
> > enable AHCI and BLK and DWC_AHSATA is already converted.  Is there
> > some i.MX specific work required still?  Thanks!
> 
> I have added CONFIG_AHCI=y and added:
> 
> --- a/drivers/ata/dwc_ahsata.c
> +++ b/drivers/ata/dwc_ahsata.c
> @@ -1093,6 +1093,7 @@ struct ahci_ops dwc_ahsata_ahci_ops = {
> 
>  static const struct udevice_id dwc_ahsata_ahci_ids[] = {
>   { .compatible = "fsl,imx6q-ahci" },
> + { .compatible = "fsl,imx53-ahci" },
>   { }
>  };
> 
> but after running the "sata" command I do get a data abort and the board resets.
> 
> I haven't gotten a chance to debug it further, but I was hoping to
> proceed with the DM conversion without sata support for now and then
> work on adding sata support for this board.

Thanks for explaining.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210215/2d94c4bf/attachment.sig>


More information about the U-Boot mailing list