1. 25 Jun, 2013 13 commits
  2. 20 Jun, 2013 2 commits
    • Liu Gang's avatar
      powerpc/boot: Change the macro of Boot from SRIO and PCIE master module · c8b28152
      Liu Gang authored
      
      
      Currently, the macro "CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER" can enable
      the master module of Boot from SRIO and PCIE on a platform. But this
      is not a silicon feature, it's just a specific booting mode based on
      the SRIO and PCIE interfaces. So it's inappropriate to put the macro
      into the file arch/powerpc/include/asm/config_mpc85xx.h.
      
      Change the macro "CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER" to
      "CONFIG_SRIO_PCIE_BOOT_MASTER", remove them from
      arch/powerpc/include/asm/config_mpc85xx.h file, and add those macros
      in configuration header file of each board which can support the
      master module of Boot from SRIO and PCIE.
      Signed-off-by: default avatarLiu Gang <Gang.Liu@freescale.com>
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      c8b28152
    • Prabhakar Kushwaha's avatar
      powerpc/mpc85xx: new SPL support for IFC NAND · 3a88179d
      Prabhakar Kushwaha authored
      
      
      Linker script is not able find start.o binary. So add its absolute path in
      u-boot-spl.lds. This change is similar to u-boot-nand.lds
      
      common/Makefile: Avoid compiling unnecssary files
      
      fsl_ifc_spl.c : It is is responsible for reading u-boot binary from
      NAND flash and copying into DDR. It also transfer control from NAND SPL
      to u-boot image present in DDR.
      Signed-off-by: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      3a88179d
  3. 17 Jun, 2013 1 commit
  4. 13 Jun, 2013 17 commits
  5. 12 Jun, 2013 7 commits
    • Heiko Schocher's avatar
      usb, composite: after unregister gadget driver set composite to NULL · c67b0e42
      Heiko Schocher authored
      
      
      Without this, second usb_composite_register() call fails always
      with -EINVAL.
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      c67b0e42
    • Stephen Warren's avatar
      usb: ehci: add missing cache managment · d3e07478
      Stephen Warren authored
      Commit 8f62ca64
      
       "usb: ehci: Support interrupt transfers via periodic list"
      didn't include any cache management in the new interrupt transfer path.
      It also added an extra write to or_asynclistaddr in usb_lowlevel_init(),
      without having flushed out the data there.
      
      Add the missing cache management calls, so that the code works again.
      
      This allows the USB keyboard on Tegra's Seaboard/Springbank boards to
      work.
      
      Cc: Patrick Georgi <patrick@georgi-clan.de>
      Cc: Vincent Palatin <vpalatin@chromium.org>
      Cc: Julius Werner <jwerner@chromium.org>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Marek Vasut <marex@denx.de>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      d3e07478
    • Kuo-Jung Su's avatar
      usb: gadget: add Faraday FOTG210 USB gadget support · 64cfd3f9
      Kuo-Jung Su authored
      
      
      The Faraday FOTG210 is an OTG chip which could operate
      as either an EHCI Host or a USB Device at a time.
      Signed-off-by: default avatarKuo-Jung Su <dantesu@faraday-tech.com>
      CC: Marek Vasut <marex@denx.de>
      64cfd3f9
    • Kuo-Jung Su's avatar
      usb: ehci: add Faraday USB 2.0 EHCI support · e82a316d
      Kuo-Jung Su authored
      
      
      This patch adds support to both Faraday FUSBH200 and FOTG210,
      the differences between Faraday EHCI and standard EHCI are
      listed bellow:
      
      1. The PORTSC starts at 0x30 instead of 0x44.
      2. The CONFIGFLAG(0x40) is not only un-implemented, and
         also has its address space removed.
      3. Faraday EHCI is a TDI design, but it doesn't
         compatible with the general TDI implementation
         found at both U-Boot and Linux.
      4. The ISOC descriptors differ from standard EHCI in
         several ways. But since U-boot doesn't support ISOC,
         we don't have to worry about that.
      Signed-off-by: default avatarKuo-Jung Su <dantesu@faraday-tech.com>
      CC: Marek Vasut <marex@denx.de>
      e82a316d
    • Kuo-Jung Su's avatar
      usb: ehci: add weak-aliased function for PORTSC · 1dde1423
      Kuo-Jung Su authored
      
      
      There is at least one non-EHCI compliant controller (i.e. Faraday EHCI)
      not only leave RESERVED and CONFIGFLAG registers un-implemented
      but also has their address spaces removed.
      
      As an result, the PORTSC register of Faraday EHCI always
      starts from 0x30 instead of 0x44 in standard EHCI.
      
      So that we'll need a weak-aliased function for abstraction.
      Signed-off-by: default avatarKuo-Jung Su <dantesu@faraday-tech.com>
      CC: Marek Vasut <marex@denx.de>
      1dde1423
    • Kuo-Jung Su's avatar
      usb: ehci: prevent bad PORTSC register access · 9c6a9d7c
      Kuo-Jung Su authored
      
      
      1. The 'index' of ehci_submit_root() is not always > 0.
      
         e.g.
         While it gets invoked from usb_get_descriptor(),
         the 'index' is always a '0'. (See ch.9 of USB2.0)
      
      2. The PORTSC register is not always required, and thus it
         should only report a port error when necessary.
         It would cause a port scan failure if the ehci_submit_root()
         always gets terminated by a port error.
      Signed-off-by: default avatarKuo-Jung Su <dantesu@faraday-tech.com>
      CC: Marek Vasut <marex@denx.de>
      9c6a9d7c
    • Vivek Gautam's avatar
      usb: gadget: Use unaligned access for wMaxPacketSize · f6664ba4
      Vivek Gautam authored
      
      
      Use get_unaligned() while fetching wMaxPacketSize to avoid
      voilating any alignment rules.
      Signed-off-by: default avatarVivek Gautam <gautam.vivek@samsung.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Piotr Wilczek <p.wilczek@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Lukasz Dalek <luk0104@gmail.com>
      Cc: Marek Vasut <marex@denx.de>
      f6664ba4