Skip to content
  • Łukasz Majewski's avatar
    i2c:samsung: Adjust Trats, GONI and Universal_c210 boards to work with new I2C framework · 2936df1f
    Łukasz Majewski authored and Heiko Schocher's avatar Heiko Schocher committed
    
    
    New I2C framework, introduced after v2013.07 final release, imposed I2C
    code adjustment for some Samsung boards - namely Trats, GONI and Universal_c210.
    
    Those boards were using schematic based I2C enumeration (I2C_5, I2C_9).
    However, new I2C framework imposes usage of logical I2C adapters numbering
    (e.g. I2C_0, I2C_1, etc).
    
    Additionally, I2C_GET_* macros were replaced with i2c_*_bus_num() functions.
    
    Trats board gained definition of second soft I2C adapter.
    
    Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
    Cc: Minkyu Kang <mk7.kang@samsung.com>
    Cc: Heiko Schocher <hs@denx.de>
    2936df1f