1. 21 Dec, 2009 2 commits
  2. 20 Dec, 2009 11 commits
    • Mahavir Jain's avatar
      usb: write command for RAW partition. · 127e1084
      Mahavir Jain authored
      This patch implements write support to usb device with raw partition.
      It will be useful for filesystem write support to usb device from
      u-boot in future.
      
      Tested with writing kernel image to raw usb disk & booting with usb
      read command into ram.
      
      [Note:  run usb part to get info about start sector & number of
      sectors on a partition for usb write operation.]
      Signed-off-by: 's avatarMahavir Jain <mjain@marvell.com>
      127e1084
    • Ajay Kumar Gupta's avatar
      omap3evm: musb: add USB config · 73c8640e
      Ajay Kumar Gupta authored
      Added USB host and device config for host (MSC, Keyboard) and
      device (ACM) functionalities.
      Signed-off-by: 's avatarAjay Kumar Gupta <ajay.gupta@ti.com>
      73c8640e
    • Tom Rix's avatar
      OMAP3 USB Initialize twl4030 only if required · ae4caf2f
      Tom Rix authored
      OMAP3EVM uses ISP1504 phy and so twl4030 related init is not required.
      Submitted-by: 's avatarAjay Kumar Gupta <ajay.gupta@ti.com>
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      ae4caf2f
    • Tom Rix's avatar
      OMAP3 zoom2 Use usbtty if the debug board is not connected. · 2ec1abea
      Tom Rix authored
      The preferred serial output comes from the debug board.
      When the debug board is disconnected, fall back on using
      usbtty from the usb connector on the Zoom2 board.
      
      This shows up as /dev/ttyACM0 in a linux host.
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      2ec1abea
    • Tom Rix's avatar
      USBTTY make some function declarations easier to use. · 6299487e
      Tom Rix authored
      Zoom2 needs to use these declarations and the include directory is a
      better place from them than in the middle of the driver directory.
      It did not make sense to create a new file for just a couple of
      lines so they were appended to the serial.h
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      6299487e
    • Tom Rix's avatar
      OMAP3 beagle Add usbtty configuration · 25374bfb
      Tom Rix authored
      The primary console of beagle is the serial header.
      
      A secondary console is to use the usbtty.  The user can set this
      manually by doing
      
      setenv stdout usbtty; setenv stdin usbtty; setenv stderr usbtty
      saveenv
      
      usbtty will be usable by accessing the /dev/ttyACM0 on a linux host.
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      25374bfb
    • Tom Rix's avatar
      OMAP3 zoom1 Add usbtty configuration · 05be5a60
      Tom Rix authored
      The primary console of zoom1 is the serial out from the jumpers
      accessed by removing the back panel.
      
      A secondary console is to use the usbtty.  The user can set this
      manually by doing
      
      setenv stdout usbtty; setenv stdin usbtty; setenv stderr usbtty
      saveenv
      
      usbtty will be usable by accessing the /dev/ttyACM0 on a linux host.
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      05be5a60
    • Tom Rix's avatar
      OMAP3 Add usb device support · f298e4b6
      Tom Rix authored
      This change adds the usb device support for musb.
      
      Omap3 platform support added at the same level as davinci.
      
      The interface for usbtty to use the musb device support was added.
      
      Verified on omap3 beagle, zoom1 and zoom2.
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      f298e4b6
    • Tom Rix's avatar
      TWL4030 Add usb PHY support · bffbb2a8
      Tom Rix authored
      The twl4030 provides a PHY device for connecting a link device,
      like musb, to physical connection.
      
      This change adds the twl4030 usb registers and functions for
      initializing the PHY as required by omap3.
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      bffbb2a8
    • Tom Rix's avatar
      USB add macros for debugging usb device setup. · 988365a2
      Tom Rix authored
      When developing usb device features, it is useful to print out
      common usb structures.
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      988365a2
    • Tom Rix's avatar
      USB Consolidate descriptor definitions · 8f8bd565
      Tom Rix authored
      The header files usb.h and usbdescriptors.h have the same nameed
      structure definitions for
      
      usb_config_descriptor
      usb_interface_descriptor
      usb_endpoint_descriptor
      usb_device_descriptor
      usb_string_descriptor
      
      These are out right duplicates in usb.h
      
      usb_device_descriptor
      usb_string_descriptor
      
      This one has extra unused elements
      
      usb_endpoint_descriptor
      
      	unsigned char	bRefresh
      	unsigned char	bSynchAddress;
      
      These in usb.h have extra elements at the end of the usb 2.0
      specified descriptor and are used.
      
      usb_config_descriptor
      usb_interface_descriptor
      
      The change is to consolidate the definition of the descriptors
      to usbdescriptors.h.  The dublicates in usb.h are removed.
      The extra element structure will have their name shorted by
      removing the '_descriptor' suffix.
      
      So
      
      usb_config_descriptor -> usb_config
      usb_interface_descriptor -> usb_interface
      
      For these, the common descriptor elements are accessed now
      by an element 'desc'.
      
      As an example
      
      -	if (iface->bInterfaceClass != USB_CLASS_HUB)
      +	if (iface->desc.bInterfaceClass != USB_CLASS_HUB)
      
      This has been compile tested on MAKEALL arm, ppc and mips.
      Signed-off-by: 's avatarTom Rix <Tom.Rix@windriver.com>
      8f8bd565
  3. 17 Dec, 2009 3 commits
  4. 15 Dec, 2009 4 commits
  5. 14 Dec, 2009 10 commits
  6. 11 Dec, 2009 1 commit
  7. 09 Dec, 2009 1 commit
    • Peter Korsgaard's avatar
      mpc83xx: boot time regression, move LCRR setup back to cpu_init_f · 3b887ca8
      Peter Korsgaard authored
      Commit c7190f02 (retain POR values of non-configured ACR, SPCR, SCCR,
      and LCRR bitfields) moved the LCRR assignment to after relocation
      to RAM because of the potential problem with changing the local bus
      clock while executing from flash.
      
      This change unfortunately adversely affects the boot time, as running
      all code up to cpu_init_r can cause significant slowdown.
      
      E.G. on a 8347 board a bootup time increase of ~600ms has been observed:
      
         0.020 CPU:   e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz
         0.168 RS:    232
         0.172 I2C:   ready
         0.176 DRAM:  64 MB
         1.236 FLASH: 32 MB
      
      Versus:
      
         0.016 CPU:   e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz
         0.092 RS:    232
         0.092 I2C:   ready
         0.096 DRAM:  64 MB
         0.644 FLASH: 32 MB
      
      So far no boards have needed the late LCRR setup, so simply revert it
      for now - If it is needed at a later time, those boards can either do
      their own final LCRR setup in board code (E.G. in board_early_init_r),
      or we can introduce a CONFIG_SYS_LCRR_LATE config option to only do
      the setup in cpu_init_r.
      Signed-off-by: 's avatarPeter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: 's avatarKim Phillips <kim.phillips@freescale.com>
      3b887ca8
  8. 08 Dec, 2009 4 commits
  9. 07 Dec, 2009 4 commits