[U-Boot] [PATCH] i2c:samsung: Adjust Trats, GONI and Universal_c210 boards to work with new I2C framework
Heiko Schocher
hs at denx.de
Tue Aug 20 11:22:40 CEST 2013
Hello Lukasz,
Am 16.08.2013 15:33, schrieb Lukasz Majewski:
> 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: Lukasz Majewski<l.majewski at samsung.com>
> Cc: Minkyu Kang<mk7.kang at samsung.com>
> Cc: Heiko Schocher<hs at denx.de>
> ---
> board/samsung/common/multi_i2c.c | 14 ++++++--------
> board/samsung/goni/goni.c | 6 +++++-
> board/samsung/trats/trats.c | 17 ++++++++++++-----
> board/samsung/universal_c210/universal.c | 4 ++++
> include/configs/trats.h | 3 +++
> 5 files changed, 30 insertions(+), 14 deletions(-)
Applied to u-boot-i2c.git, thanks.
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list