Skip to content
Snippets Groups Projects
  1. Oct 26, 2010
  2. Oct 25, 2010
  3. Oct 24, 2010
    • Wolfgang Denk's avatar
      hcu4, hcu5: fix out of tree building · 1339657a
      Wolfgang Denk authored
      
      Out of tree building of the Netstal hcu4 and hcu5 boards failed like
      that:
      
      Assembler messages:
      Fatal error: can't create /work/wd/tmp-ppc/board/netstal/hcu4/../common/fixed_sdram.o: No such file or directory
      Assembler messages:
      Fatal error: can't create /work/wd/tmp-ppc/board/netstal/hcu4/../common/nm_bsp.o: No such file or directory
      make[1]: *** [/work/wd/tmp-ppc/board/netstal/hcu4/../common/fixed_sdram.o] Error 2
      
      Adapt (and simplify) the respective Makefiles.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      1339657a
    • Wolfgang Denk's avatar
      MPC8315ERD: fix build error · 1db3fca7
      Wolfgang Denk authored
      
      Commit 29c6fbe0 "MPC5121: Add USB EHCI support" renamed
      CONFIG_SYS_MPC8xxx_USB_ADDR into CONFIG_SYS_FSL_USB_ADDR but missed
      to update arch/powerpc/cpu/mpc83xx/cpu_init.c, resulting in:
      
      cpu_init.c: In function 'cpu_init_f':
      cpu_init.c:332: error: 'CONFIG_SYS_MPC8xxx_USB_ADDR' undeclared (first use in this function)
      cpu_init.c:332: error: (Each undeclared identifier is reported only once
      cpu_init.c:332: error: for each function it appears in.)
      make[1]: *** [/work/wd/tmp-ppc/arch/powerpc/cpu/mpc83xx/cpu_init.o] Error 1
      
      Fix this.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      1db3fca7
    • Wolfgang Denk's avatar
      VoVPN-GW_100MHz: drop unsupported board configuration · 26fe3d2b
      Wolfgang Denk authored
      
      The 100MHz configuation of the VoVPN-GW has never been supported, so
      drop it now.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      26fe3d2b
    • Wolfgang Denk's avatar
      lite5200b_PM: fix compile warning · bc5e1701
      Wolfgang Denk authored
      
      Fix warning:
      
      icecube.c: In function 'lite5200b_wakeup':
      icecube.c:83: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'void (*)(void)'
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      bc5e1701
  4. Oct 23, 2010
  5. Oct 22, 2010
    • Wolfgang Denk's avatar
      ehci-hcd.c: fix hanging under higher load · 09c83a45
      Wolfgang Denk authored
      
      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: default avatarHeiko schocher <hs@denx.de>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Remy Bohmer <linux@bohmer.net>
      Cc: Stefano Babic <sbabic@denx.de>
      09c83a45
    • Mike Frysinger's avatar
      2ff12285
    • Mike Frysinger's avatar
      usb: musb: constify a bit · 0228348e
      Mike Frysinger authored
      
      These ep and root hub structures need not be writable.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      0228348e
    • Wolfgang Denk's avatar
      USB: fix Queue Element Transfer Descriptor changes · 8b675fe1
      Wolfgang Denk authored
      
      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: default avatarWolfgang Denk <wd@denx.de>
      Cc: Dan Lykowski <lykowdk@gmail.com>
      Cc: Remy Bohmer <linux@bohmer.net>
      Cc: Stefano Babic <sbabic@denx.de>
      8b675fe1
    • Florian Fainelli's avatar
      ehci-pci: print hccr, hcor and hc_lenght · af68c066
      Florian Fainelli authored
      
      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: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      af68c066
    • Wolfgang Denk's avatar
      ehci-hcd.c: fix hanging under higher load · 9038e0e7
      Wolfgang Denk authored
      
      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: default avatarHeiko schocher <hs@denx.de>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Remy Bohmer <linux@bohmer.net>
      Cc: Stefano Babic <sbabic@denx.de>
      9038e0e7
Loading