From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 20 Aug 2013 11:22:40 +0200 Subject: [U-Boot] [PATCH] i2c:samsung: Adjust Trats, GONI and Universal_c210 boards to work with new I2C framework In-Reply-To: <1376660013-14035-1-git-send-email-l.majewski@samsung.com> References: <1376660013-14035-1-git-send-email-l.majewski@samsung.com> Message-ID: <52133560.1080401@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Minkyu Kang > Cc: Heiko Schocher > --- > 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