1. 24 10月, 2010 5 次提交
    • W
      33a08c10
    • W
      Merge branch 'master' of git://git.denx.de/u-boot-usb · b4039a54
      Wolfgang Denk 提交于
      b4039a54
    • W
      Merge branch 'master' of git://git.denx.de/u-boot-sh · 678150f1
      Wolfgang Denk 提交于
      678150f1
    • I
      a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES define · e36aff68
      Ilya Yanok 提交于
      This patch adds CONFIG_SYS_FLASH_BANKS_SIZES define to make use of new
      cfi_flash driver ability to detect flash chips that are bigger than a
      corresponding address window (we have such situation on some revs of
      a4m072).
      Signed-off-by: NIlya Yanok <yanok@emcraft.com>
      e36aff68
    • I
      cfi_flash: handle 'chip size exceeds address window' situation · ec50a8e3
      Ilya Yanok 提交于
      On some boards we have flash mapped high in the address space with
      considerably small window (say 0xFE000000 and 32MB). When we install
      bigger chip (say 64MB) on such a board strange things happen
      (flash_write() doesn't work at all, for ex). That's because cfi_flash
      driver doesn't care about window size at all.
      Of course, cleanest solution would probably be to just extend address
      window to be able to map the whole flash but for legacy/compatibility
      reasons some people prefer just truncate the flash size and never use
      the upper part.
      This patch adds an option for cfi_flash driver to handle this situation
      properly. To achieve this we add the new function cfi_flash_bank_size()
      which can be provided by the board code and weak-aliased to default
      implementation that returns value from the CONFIG_SYS_FLASH_BANKS_SIZES
      array if it's defined or 0 otherwise (the last case is added for
      compatibility).
      If non-zero flash bank size is provided and detected chip size is bigger
      than provided address window size the warning will be displayed and
      flash chip will be truncated.
      Signed-off-by: NIlya Yanok <yanok@emcraft.com>
      
      Changed cfi_flash_bank_size() return type to unsigned long
      to match caller function.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      ec50a8e3
  2. 23 10月, 2010 5 次提交
    • W
      ehci-hcd.c: fix hanging under higher load · 09c83a45
      Wolfgang Denk 提交于
      This patch solves a problem with USB hanging under higher load on a
      i.MX31 board.  It falls into class of typical USB problems and fixes:
      if you don't understand the real cause, add a delay somewhere.
      
      The problem appeared after introduction of ELF relocation, which
      results in smaller code, which appears to run faster (probably because
      it fits better in the cache); turning off the instruction cache,
      adding debug printf()s and increasing the delay have all been found to
      make the problem go away.
      
      Moving the original "udelay(1)" up in the code to it's new place made
      the problem appear much less frequently. Increasing the delay to 2
      microseconds then made the code run reliably in all (hour-long) tests.
      To be on the safe side, we set it to 5 microseconds here.
      Signed-off-by: NHeiko schocher <hs@denx.de>
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Remy Bohmer <linux@bohmer.net>
      Cc: Stefano Babic <sbabic@denx.de>
      09c83a45
    • M
      usb_storage: constify us_direction lookup table · 2ff12285
      Mike Frysinger 提交于
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      2ff12285
    • M
      usb: musb: constify a bit · 0228348e
      Mike Frysinger 提交于
      These ep and root hub structures need not be writable.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      0228348e
    • W
      USB: fix Queue Element Transfer Descriptor changes · 8b675fe1
      Wolfgang Denk 提交于
      Commit 3ed16071 "USB: sync Queue Element Transfer Descriptor against
      EHCI spec" added an "__attribute__ ((aligned (32)))" to the
      declaration of struct qTD, as used for example in the Linux kernel as
      well.
      
      However, it turns out that this attribute causes errors in "usb start"
      (like "ERROR: NOT USB_CONFIG_DESC 7b" and similar). Drop the attribute
      again.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Dan Lykowski <lykowdk@gmail.com>
      Cc: Remy Bohmer <linux@bohmer.net>
      Cc: Stefano Babic <sbabic@denx.de>
      8b675fe1
    • F
      ehci-pci: print hccr, hcor and hc_lenght · af68c066
      Florian Fainelli 提交于
      It is useful to know the EHCI-PCI hccr, hcor and hc_lenght to make sure it was
      successfully registered, and at the correct location.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      af68c066
  3. 22 10月, 2010 8 次提交
  4. 21 10月, 2010 13 次提交
  5. 20 10月, 2010 9 次提交