Skip to content
Snippets Groups Projects
  1. Sep 13, 2015
  2. Sep 12, 2015
    • Tom Rini's avatar
      Merge git://git.denx.de/u-boot-usb · 922f735e
      Tom Rini authored
      922f735e
    • Marek Vasut's avatar
      arm: socfpga: mcvevk: Update DRAM clock to 400MHz · 4ae6cfe3
      Marek Vasut authored
      
      The MCV SoM has DDR3-1600 DRAMs on it, update the DRAM speed
      to 400MHz to make use of these DRAMs completely.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      4ae6cfe3
    • Stephen Warren's avatar
      usb: ci_udc: fix emissions of ZLPs · b337b3b2
      Stephen Warren authored
      
      Commit 6a132416 "ci_udc: Update the ci_udc driver to support bulk
      transfers" caused the value of "len" to change without updating subsquent
      users of that variable in ci_ep_submit_next_request(). This caused the
      code that detects when to emit ZLPs (Zero Length Packets) never to
      trigger, which in turn caused host timeouts when a ZLP was required,
      which in turn broke tests/dfu/, even despite the assertion in that
      commit's description that "These changes are tested for both the DFU and
      lthor."
      
      Fix this by modifying the added dtd iteration code not to modify "len",
      but rather to keep state in a separate variable. Rename the variables
      while we're at it so they describe their purpose better.
      
      Fixes: 6a132416 ("ci_udc: Update the ci_udc driver to support bulk transfers")
      Cc: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      b337b3b2
    • Peng Fan's avatar
      usb: gadget: ci_udc: implement usb_ep_ops dequeue callback · 70eaeb03
      Peng Fan authored
      
      Implement endpoint dequeue callback function.
      
      Without this function, uboot will hang when executing fastboot comamnd.
      See following flow:
      "fastboot_tx_write_str->fastboot_tx_write->usb_ep_dequeue->ep->ops->dequeue"
      without implement ci_udc dequeue function, ep->ops->dequeue is NULL, then
      uboot will hang.
      
      Tested on mx6qsabresd board with fastboot enabled.
      
      Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
      Tested-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Cc: "Łukasz Majewski" <l.majewski@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      70eaeb03
  3. Sep 11, 2015
    • Sylvain Lemieux's avatar
      gpio: lpc32xx: fix issues with port3 gpio · 89983478
      Sylvain Lemieux authored
      
      The current simplify lpc32xx gpio driver implementation assume a
      maximum of 32 GPIO per port; there are a total of 22 GPI, 24 GPO
      and 6 GPIO to managed on port 3.
      
      Update the driver to fix the following:
      1) When requesting GPI_xx and GPO_xx on port 3 (xx is the same number)
         the second call to "gpio_request" will return -EBUSY.
      
      2) The status of GPO_xx pin report the status of the
         corresponding GPI_xx pin when using the "gpio status" command.
      
      3) The gpio driver may setup the direction register for the wrong
         gpio when calling "gpio_direction_input" (GPI_xx) or
         "gpio_direction_output" (GPO_xx) on port 3; the call to the
         direction is require to use the "gpio status" command.
      
      The following change were done in the driver:
      1) port3 GPI are cache in a separate 32 bits in the array.
      2) port3 direction register written only for GPIO pins.
      3) port3 GPO & GPIO (as output) are read using "p3_outp_state".
      4) LPC32XX_GPI_P3_GRP updated to match the change.
      
      Signed-off-by: default avatarSylvain Lemieux <slemieux@tycoint.com>
      89983478
Loading