1. 07 11月, 2017 1 次提交
    • B
      mmc: fsl_esdhc: Fix PIO timeout · bcfb3653
      Benoît Thébaudeau 提交于
      The following error has been observed on i.MX25 with a high-speed SDSC
      card:
          Data Write Failed in PIO Mode.
      
      It was caused by the timeout set on PRSSTAT.BWEN, which was triggered
      because this bit takes 15 ms to be set after writing the first block to
      DATPORT with this card. Without this timeout, all the blocks are
      properly written.
      
      This timeout was implemented by decrementing a variable, so it was
      depending on the CPU frequency. Fix this issue by setting this timeout
      to a long enough absolute duration (500 ms).
      Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Jaehoon Chung <jh80.chung@samsung.com>
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: NJagan Teki <jagan@openedev.com>
      bcfb3653
  2. 06 11月, 2017 2 次提交
  3. 16 10月, 2017 1 次提交
  4. 09 10月, 2017 1 次提交
  5. 04 10月, 2017 1 次提交
    • M
      treewide: replace with error() with pr_err() · 9b643e31
      Masahiro Yamada 提交于
      U-Boot widely uses error() as a bit noisier variant of printf().
      
      This macro causes name conflict with the following line in
      include/linux/compiler-gcc.h:
      
        # define __compiletime_error(message) __attribute__((error(message)))
      
      This prevents us from using __compiletime_error(), and makes it
      difficult to fully sync BUILD_BUG macros with Linux.  (Notice
      Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)
      
      Let's convert error() into now treewide-available pr_err().
      
      Done with the help of Coccinelle, excluing tools/ directory.
      
      The semantic patch I used is as follows:
      
      // <smpl>
      @@@@
      -error
      +pr_err
       (...)
      // </smpl>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      [trini: Re-run Coccinelle]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      9b643e31
  6. 29 9月, 2017 3 次提交
  7. 28 9月, 2017 1 次提交
    • P
      mmc: Add MMC support for stm32h7 Socs · b312c590
      Patrice Chotard 提交于
      This patch adds SD/MMC support for STM32H7 SoCs.
      
      Here is an extraction of SDMMC main features, embedded in
      STM32H7 SoCs.
      The SD/MMC block include the following:
       _ Full compliance with MultiMediaCard System Specification
         Version 4.51. Card support for three different databus modes:
         1-bit (default), 4-bit and 8-bit.
       _ Full compatibility with previous versions of MultiMediaCards
         (backward compatibility).
       _ Full compliance with SD memory card specifications version 4.1.
         (SDR104 SDMMC_CK speed limited to maximum allowed IO speed,
          SPI mode and UHS-II mode not supported).
       _ Full compliance with SDIO card specification version 4.0.
         Card support for two different databus modes: 1-bit (default)
         and 4-bit. (SDR104 SDMMC_CK speed limited to maximum allowed IO
         speed, SPI mode and UHS-II mode not supported).
       _ Data transfer up to 208 Mbyte/s for the 8 bit mode.
         (depending maximum allowed IO speed).
       _ Data and command output enable signals to control external
         bidirectional drivers.
      
      The current version of the SDMMC supports only one SD/SDIO/MMC card
      at any one time and a stack of MMC Version 4.51 or previous.
      Signed-off-by: NChristophe Kerello <christophe.kerello@st.com>
      Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      b312c590
  8. 22 9月, 2017 8 次提交
  9. 19 9月, 2017 3 次提交
  10. 13 9月, 2017 1 次提交
  11. 01 9月, 2017 1 次提交
  12. 29 8月, 2017 2 次提交
  13. 18 8月, 2017 1 次提交
  14. 17 8月, 2017 14 次提交