[U-Boot] [PATCH V4 11/12] imx: mx6sabresd: enable dm drivers
Peng Fan
peng.fan at nxp.com
Tue Sep 26 02:03:59 UTC 2017
Hi Stefano,
> -----Original Message-----
> From: Stefano Babic [mailto:sbabic at denx.de]
> Sent: Monday, September 25, 2017 10:12 PM
> To: Peng Fan <peng.fan at nxp.com>; sbabic at denx.de
> Cc: van.freenix at gmail.com; u-boot at lists.denx.de; Fabio Estevam
> <fabio.estevam at nxp.com>
> Subject: Re: [PATCH V4 11/12] imx: mx6sabresd: enable dm drivers
>
> Hi Peng,
>
> On 30/08/2017 08:14, Peng Fan wrote:
> > Enable DM MMC/I2C/PMIC/GPIO/REGULATOR.
> >
> > Signed-off-by: Peng Fan <peng.fan at nxp.com>
> > Cc: Fabio Estevam <fabio.estevam at nxp.com>
> > Cc: Stefano Babic <sbabic at denx.de>
> > ---
> >
> > V2->V4: none
> >
[..........]
> >
>
> Enabling DM drivers seems to break sabresd:
>
> arm: + mx6sabresd
> +common/usb_storage.c: In function 'usb_stor_probe_device':
> +common/usb_storage.c:218:30: error: 'struct usb_device' has no member
> named 'dev'
> + data = dev_get_platdata(udev->dev);
> + ^
> +common/usb_storage.c:228:32: error: 'struct usb_device' has no member
> named 'dev'
> + ret = blk_create_devicef(udev->dev, "usb_storage_blk", str,
> + ^
>
>
> Can you take a look ?
I build mx6sabresd_defconfig, I met the following warning based on imx master branch, but did not met the build error.
CC spl/common/spl/spl_fit.o
common/spl/spl_fit.c: In function 'spl_load_fit_image':
common/spl/spl_fit.c:201:7: warning: passing argument 4 of 'gunzip' from incompatible pointer type [enabled by default]
src, &length)) {
^
In file included from common/spl/spl_fit.c:8:0:
include/common.h:627:5: note: expected 'long unsigned int *' but argument is of type 'size_t *'
int gunzip(void *, int, unsigned char *, unsigned long *);
^
Thanks,
Peng.
>
> Best regards,
> Stefano
>
>
> --
> ============================================================
> =========
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
> ============================================================
> =========
More information about the U-Boot
mailing list