1. 20 May, 2012 5 commits
    • Marek Vasut's avatar
      USB: Document the QH and qTD antics in EHCI-HCD · 41b1f0ac
      Marek Vasut authored
      
      
      The construction of QH and qTD lists in ehci_submit_async() call is cryptic
      business, add at least a bit of comments so if someone is reading it, he can at
      least reference the intel ehci manual (ehci-r10.pdf).
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      41b1f0ac
    • Marek Vasut's avatar
      USB: Drop cache flush bloat in EHCI-HCD · b8adb120
      Marek Vasut authored
      
      
      Discard the creepy cache flushing mechanisms in ehci-hcd.c and replace them with
      more straightforward flushing. In the new approach, the flushing takes place
      directly in ehci_submit_async() call instead of going through the QH list and
      flushing all members and buffers. This discards a lot of weird bit operations
      on the members of QH and qTD structures.
      
      NOTE: Certainly, this flushes even qTDs which are possibly unused in some
      transactions, though the overhead of the previous code was much higher than is
      the overhead of flushing two more cache lines (which most probably aren't even
      cached).
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      b8adb120
    • Marek Vasut's avatar
      USB: Drop ehci_alloc/ehci_free in ehci-hcd · de98e8b2
      Marek Vasut authored
      
      
      These two functions were called only from ehci_submit_async(), therefore
      dissolve them as part of ehci_submit_async() to get rid of all those static
      variables.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      de98e8b2
    • Puneet Saxena's avatar
      USB: Align buffers at cacheline · f5766139
      Puneet Saxena authored
      
      
      This avoids cache-alignment warnings shown in console
      when a usb command is entered.
      
      Whenever X bytes of unaligned buffer is invalidated, arm core
      invalidates X + Y bytes as per the cache line size and throws
      these warnings.
      
      Signed-off-by: default avatarPuneet Saxena <puneets@nvidia.com>
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      f5766139
    • Mike Frysinger's avatar
      usb: use noinline define · 66cf6410
      Mike Frysinger authored
      
      
      Building usb for Blackfin boards fails as we get linux/compiler.h
      included which expands the "noinline" inside of the attribute and
      we get attribute(attribute(noinline)).
      
      Explicitly use the helper define to avoid this.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      66cf6410
  2. 18 May, 2012 2 commits
  3. 30 Apr, 2012 27 commits
  4. 29 Apr, 2012 3 commits
    • Marek Vasut's avatar
      GCC47: Fix warning in md5.c · b68d63ce
      Marek Vasut authored
      
      
      md5.c: In function ‘MD5Final’:
      md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      b68d63ce
    • Marek Vasut's avatar
      GCC47: Fix warning in cmd_nand.c · f624dd15
      Marek Vasut authored
      
      
      cmd_nand.c: In function ‘arg_off_size’:
      cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Wolfgang Denk <wd@denx.de>
      f624dd15
    • Wolfgang Denk's avatar
      Merge branch 'marex@denx.de' of git://git.denx.de/u-boot-staging · e654fac2
      Wolfgang Denk authored
      * 'marex@denx.de' of git://git.denx.de/u-boot-staging:
        CMD: CONFIG_CMD_SETECPR -> CONFIG_CMD_SETEXPR on omap3_logic
        CMD: Fix CONFIG_CMD_SAVEBP_WRITE_SIZE -> CONFIG_CMD_SPL_WRITE_SIZE
        CMD: Fix typo CMD_FSL -> CMD_MFSL in readme
        HWW1U1A: Fix CMD_SHA1 -> CMD_SHA1SUM
        CMD: Remove CMD_LOG, it's unused
        CMD: Fix typo KGBD -> KGDB on debris board
        CMD: Drop CONFIG_CMD_EMMC, it's not used
        CMD: Drop CONFIG_CMD_DFL, it's not used
        CMD: Drop CMD_DCR, it's not used
        CMD: Drop CMD_CAN, it's not used
        CMD: Remove CMD_AUTOSCRIPT, it's not used
        AT91: Drop AT91_SPIMUX command from cmd_all
      e654fac2
  5. 25 Apr, 2012 3 commits