Skip to content
Snippets Groups Projects
  1. Aug 11, 2015
    • Marek Vasut's avatar
      mmc: dw_mmc: Zap endless timeout · d9dbb97b
      Marek Vasut authored
      
      Endless timeouts are bad, since if we get stuck in one, we have no
      way out. Zap this one by implementing proper timeout.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Tom Rini <trini@konsulko.com>
      d9dbb97b
    • Marek Vasut's avatar
      mmc: dw_mmc: Stop bounce buffer even in case of failure · 603b2f3a
      Marek Vasut authored
      
      The driver didn't stop the bounce buffer in case a data transfer
      failed. This would lead to memory leakage if the communication
      between the CPU and the card is unreliable. Add the missing call
      to stop the bounce buffer.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Tom Rini <trini@konsulko.com>
      603b2f3a
  2. Aug 10, 2015
    • Tom Rini's avatar
      Merge git://git.denx.de/u-boot-dm · e2c1c5ba
      Tom Rini authored
      e2c1c5ba
    • Hans de Goede's avatar
      dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port · 8c458588
      Hans de Goede authored
      
      Currently the serial code assumes that there is always at least one serial
      port (and panics / crashes due to null pointer dereferences when there is
      none).
      
      This makes it impossible to use u-boot on boards where there is no (debug)
      serial port, because e.g. all uart pins are muxed to another function.
      
      This commit adds a CONFIG_REQUIRE_SERIAL_CONSOLE Kconfig option, which
      defaults to y (preserving existing behavior), which can be set to n on
      such boards to make them work.
      
      This commit only implements this for CONFIG_DM_SERIAL=y configs, as allowing
      running without a serial port for CONFIG_DM_SERIAL=n configs is non trivial,
      and is not necessary at this moment.
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      8c458588
  3. Aug 09, 2015
  4. Aug 08, 2015
Loading