Re: [U-Boot] [PATCH] mx7dsabresd: Make 'ums' command functional

2016-02-21 Thread Stefano Babic
On 17/02/2016 16:34, Fabio Estevam wrote: > When running the 'ums' command we get: > > => ums 0 mmc 0 > UMS: disk start sector: 0x0, count: 0xe18000 > g_dnl_register: failed!, error: -22 > ERROR: g_dnl_register failed > at common/cmd_usb_mass_storage.c:107/do_usb_mass_storage() > > Fix this by in

[U-Boot] [PATCH] mx7dsabresd: Make 'ums' command functional

2016-02-17 Thread Fabio Estevam
When running the 'ums' command we get: => ums 0 mmc 0 UMS: disk start sector: 0x0, count: 0xe18000 g_dnl_register: failed!, error: -22 ERROR: g_dnl_register failed at common/cmd_usb_mass_storage.c:107/do_usb_mass_storage() Fix this by initializing USB OTG1 port as USB device mode instead of host.