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

Fabio Estevam festevam at gmail.com
Sun Feb 14 19:58:56 CET 2021


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.

Regards,

Fabio Estevam


More information about the U-Boot mailing list