Hi,

i'm trying to get USB working in uboot.

first thing i've noticed: usb3 and usb2 cannot be used together (multiple 
definition of "submit_control_msg" and other functions).

next i try to enable usb-command (which seems to be needed), then i get this:

common/usb_storage.c: In function ‘usb_stor_probe_device’:
common/usb_storage.c:206:32: error: ‘struct usb_device’ has no member named 
‘dev’; did you mean ‘devnum’?
  data = dev_get_platdata(udev->dev);
                                ^~~
                                devnum
common/usb_storage.c:216:34: error: ‘struct usb_device’ has no member named 
‘dev’; did you mean ‘devnum’?
   ret = blk_create_devicef(udev->dev, "usb_storage_blk", str,
                                  ^~~
                                  devnum

is there a vendor-specific driver (bpi-r2) missing or do i make anything wrong? 
how about sata...is there anything needed from vendor?

regards Frank
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to