1. 05 Mar, 2016 1 commit
  2. 26 Feb, 2016 1 commit
    • Marek Vasut's avatar
      usb: ehci: Fix warning on aarch64 · abd702f4
      Marek Vasut authored
      
      
      Fix the following warning on aarch64 introduced by using p2v/v2p
      functions in the code:
      
      In file included from ./arch/arm/include/asm/byteorder.h:29:0,
                       from include/compiler.h:125,
                       from include/image.h:19,
                       from include/common.h:88,
                       from drivers/usb/host/ehci-hcd.c:10:
      drivers/usb/host/ehci-hcd.c: In function ‘ehci_td_buffer’:
      drivers/usb/host/ehci-hcd.c:250:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         td->qt_buffer[idx] = cpu_to_hc32(virt_to_phys((void *)addr));
                                                       ^
      include/linux/byteorder/little_endian.h:34:51: note: in definition of macro ‘__cpu_to_le32’
       #define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
                                                         ^
      drivers/usb/host/ehci-hcd.c:250:24: note: in expansion of macro ‘cpu_to_hc32’
         td->qt_buffer[idx] = cpu_to_hc32(virt_to_phys((void *)addr));
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Tom Rini <trini@konsulko.com>
      abd702f4
  3. 24 Feb, 2016 4 commits
    • Marek Vasut's avatar
      usb: ehci: Be explicit about the BE IO accessors · e88a1b75
      Marek Vasut authored
      
      
      Add explicit cpu_to_be32()/be32_to_cpu() conversion to BE EHCI I/O
      accessors to align them with their LE counterpart. No functional
      change.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Hans de Goede <hdegoede@redhat.com>
      e88a1b75
    • Marek Vasut's avatar
      usb: ehci: Clear USBMODE_BE on LE MMIO · 7ab0d355
      Marek Vasut authored
      
      
      If the USB EHCI is configured for little endian MMIO, make sure to
      clear the USBMODE_BE flag from the USBMODE register.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Hans de Goede <hdegoede@redhat.com>
      7ab0d355
    • Marek Vasut's avatar
      usb: ehci: Implement V2P mapping · cf7c93cd
      Marek Vasut authored
      
      
      Certain processor architectures, like MIPS, require that the USB
      structures and transfer buffers are passed with their PA to the
      USB controller. If VA is passed, the USB will not work. Add the
      necessary virt_to_phys() calls into the USB EHCI code to make it
      work.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Hans de Goede <hdegoede@redhat.com>
      cf7c93cd
    • Marek Vasut's avatar
      usb: ehci: Use map_physmem in ehci-generic · 643cacb6
      Marek Vasut authored
      
      
      Some architectures, like MIPS, require remapping of the registers.
      Add the map_physmem() call to handle it.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Hans de Goede <hdegoede@redhat.com>
      643cacb6
  4. 23 Feb, 2016 1 commit
  5. 18 Feb, 2016 3 commits
  6. 14 Feb, 2016 1 commit
  7. 25 Jan, 2016 4 commits
  8. 24 Jan, 2016 1 commit
  9. 23 Jan, 2016 7 commits
  10. 16 Jan, 2016 2 commits
  11. 12 Jan, 2016 2 commits
  12. 31 Dec, 2015 2 commits
  13. 17 Dec, 2015 2 commits
  14. 06 Dec, 2015 8 commits
  15. 20 Nov, 2015 1 commit