• Adrian Hunter's avatar
    mmc: Fixes for Dual Data Rate (DDR) support · 0f8d8ea6
    Adrian Hunter authored
    The DDR support patch needs the following fixes:
    
    - The block driver does not need to know about DDR, any more
      than it needs to know about bus width.
    - Not only the card must be switched to DDR mode.  The host
      controller must also be configured, which is done through
      the 'set_ios()' function.
    - Do not set the DDR mode state until after the switch command
      is successful.
    - Setting block length is not supported in DDR mode.  Make that
      a core function and change the other place it is used (mmc_test)
      also.
    Signed-off-by: default avatarAdrian Hunter <adrian.hunter@nokia.com>
    Signed-off-by: default avatarChris Ball <cjb@laptop.org>
    0f8d8ea6
block.c 17.5 KB