]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx6: wandboard: fix dwc_ahsata build errors when DM enabled
authorAnatolij Gustschin <agust@denx.de>
Mon, 1 Apr 2019 12:32:08 +0000 (14:32 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:10 +0000 (20:30 +0200)
commitafbdff18f4841b86f4ae294e1356eefa7c1565dd
tree8d615f47bc822bd4c9e319efc2ee56bb8a4665f1
parent275e8b622f5eb7aa08d687f7427fe5eeb6e0c083
imx6: wandboard: fix dwc_ahsata build errors when DM enabled

Enable CONFIG_AHCI to fix errors:
drivers/ata/dwc_ahsata.c: In function `ahci_init_one':
drivers/ata/dwc_ahsata.c:868:21: error: `struct blk_desc' has no member named `priv'
sata_dev_desc[pdev].priv = uc_priv;
     ^
drivers/ata/dwc_ahsata.c: In function `init_sata':
drivers/ata/dwc_ahsata.c:891:30: error: `struct blk_desc' has no member named `priv'
uc_priv = sata_dev_desc[dev].priv;
...

Also enable DM_SCSI to fix migration build warning.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
configs/wandboard_defconfig