06 Nov, 2013

2 commits


04 Nov, 2013

2 commits


01 Nov, 2013

5 commits


31 Oct, 2013

9 commits

  • Prior to SPDX licensing this file was GPL-2.0 with Freescale granting
    rights for "or later" for their contributed code. We incorrectly moved
    this file to GPL-2.0+, so correct it to GPL-2.0. In addition we cannot
    easily denote in the file where or what code is "or later", so just set
    that aside for now and the file as a whole is GPL-2.0 regardless.

    Cc: Scott Wood
    Signed-off-by: Tom Rini

    Tom Rini
     
  • T4240QDS eSDHC host capabilities reigster should have VS33 bit define.
    Add quirk CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33 to deal with capacity
    missing

    Signed-off-by: Roy Zang
    Signed-off-by: Haijun Zhang
    Acked-by: Pantelis Antoniou

    Haijun.Zhang
     
  • struct mmc should be clear to all '0' after malloc to avoid
    unexpect variable value.

    Like mmc->has_init = xxx.
    In this case mmcinfo will believe the card had been initialized before
    and skip the initialization.

    Test on P5040 and T4240,
    Error Log:

    => mmcinfo
    Device: FSL_SDHC
    Manufacturer ID: 0
    OEM: 0
    Name: Tran Speed: 0
    Rd Block Len: 0
    MMC version 0.0
    High Capacity: No
    Capacity: 0 Bytes
    Bus Width: 0-bit
    =>

    Signed-off-by: Haijun Zhang
    Signed-off-by: Xie Shaohui-B21989
    Tested-by: Ryan Barnett
    Acked-by: Pantelis Antoniou

    Haijun.Zhang
     
  • Add some descriptions for esdhc register for easily using.

    Signed-off-by: Haijun Zhang
    Acked-by: Pantelis Antoniou

    Haijun.Zhang
     
  • eSDHC host controller has new register to support SD Spec 3.0.
    And the according host controller version was Freescale eSDHC
    Version 3.0.

    Signed-off-by: Haijun Zhang
    Acked-by: Pantelis Antoniou

    Haijun.Zhang
     
  • SMDK5420 has a new Security Management Unit added
    for dwmmc driver, hence, configuring the control
    registers to support booting via eMMC.

    Signed-off-by: Alim Akhtar
    Signed-off-by: Rajeshwari Shinde
    Acked-by: Simon Glass
    Acked-by: Jaehoon Chung
    Acked-by: Pantelis Antoniou

    Rajeshwari Shinde
     
  • Old command timeout value was too small and it caused I/O errors which
    led to uncompleted read/write/erase operations and filesystem errors.
    Timeout adaptation fixes this issue.

    Changes in sdhci_send_command() function:
    - change timeout variable to static
    - increase default command timeout to 100 ms
    - add definition of max command timeout value,
    which can be redefined in each board config file
    - wait for card ready state for max defined time
    if it doesn't exceed defined maximum or return COMM_ERR

    Once successfully increased timeout value will be used in next function
    call. This fix was tested on Goni, Trats, Trats2 boards by testing UMS
    on MMC storage.

    Changes v2:
    - move global variable cmd_timeout into function sdhci_send_command()
    - change condition "==" to ">=" when comparing time with timeout
    - print information about timeout increasing and card busy timeout

    Signed-off-by: Przemyslaw Marczak
    Cc: Pantelis Antoniou

    Przemyslaw Marczak
     
  • To prevent the confusion, use the get_mmc_clk() instead of mmc_clk().
    get_mmc_clk() is more exactly name.

    Signed-off-by: Jaehoon Chung
    Acked-by: Pantelis Antoniou

    Jaehoon Chung
     
  • EXT_CSD_ERASE_GROUP_DEF is lost every time after a reset or
    power off. Set it if device has enhanced partitions.

    Signed-off-by: Oliver Metz
    Acked-by: Pantelis Antoniou

    Oliver Metz
     

30 Oct, 2013

4 commits


25 Oct, 2013

3 commits


23 Oct, 2013

1 commit


22 Oct, 2013

1 commit


21 Oct, 2013

13 commits