Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
36500 commits behind the upstream repository.
  • Stefan Roese's avatar
    496ba48f
    i2c: designware_i2c.c: Add support for the "i2c probe" command · 496ba48f
    Stefan Roese authored
    
    i2c_probe() is changed to reinit the i2c bus upon read failure.
    This is naturally the case upon i2c bus probing.
    
    Also, some printf messages upon read failure are removed. As they
    would interfere with the "i2c probe" command.
    
    Additionally, i2c_set_bus_speed() now returns 0, so that the
    "i2c speed" command can be used.
    
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    Cc: Amit Virdi <amit.virdi@st.com>
    Cc: Vipin Kumar <vipin.kumar@st.com>
    496ba48f
    History
    i2c: designware_i2c.c: Add support for the "i2c probe" command
    Stefan Roese authored
    
    i2c_probe() is changed to reinit the i2c bus upon read failure.
    This is naturally the case upon i2c bus probing.
    
    Also, some printf messages upon read failure are removed. As they
    would interfere with the "i2c probe" command.
    
    Additionally, i2c_set_bus_speed() now returns 0, so that the
    "i2c speed" command can be used.
    
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    Cc: Amit Virdi <amit.virdi@st.com>
    Cc: Vipin Kumar <vipin.kumar@st.com>