]> git.baikalelectronics.ru Git - uboot.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)
commitda9034689debae3cb146cd3f26d5dc39ed575881
tree8d615f47bc822bd4c9e319efc2ee56bb8a4665f1
parent2f49151a233b80633f9c8fe3e8f5d0de33d06a6e
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