• L
    mmc: Replace printf with debug call for timeouts in the i.MX28 mxs driver · cf31914c
    Lukasz Majewski 提交于
    This change replaces printf() with debug() for the notification about
    commands timeouts.
    
    This is done on purpose (also other drivers use such approach - dw_mmc.c,
    mvebu_mmc.c), as the mmc core code (mmc.c) uses timeouts to assess if one
    is using sd card or eMMC device.
    In such situation timeout is a some kind of a "normal" behavior and there
    shall not be any output to the console.
    
    There is no impact on boot time for boards using this driver (even in SPL)
    when two extra timeouts are returned (no SD card present, only eMMC
    available).
    
    Boot time tested with grabserial:
    sudo grabserial -b 115200 -d /dev/ttyUSB1 -e 30 -t -m "^U-Boot SPL*"
    Signed-off-by: NLukasz Majewski <lukma@denx.de>
    cf31914c
mxsmmc.c 18.2 KB