From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 24 Apr 2012 11:11:20 +0200 Subject: [U-Boot] [PATCH] i2c: Add support for designware i2c controller In-Reply-To: <1330334009-29452-1-git-send-email-amit.virdi@st.com> References: <1330334009-29452-1-git-send-email-amit.virdi@st.com> Message-ID: <4F966E38.6040403@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 Amit, Amit Virdi wrote: > From: Vipin KUMAR > > Earlier, a driver exists in the u-boot source for designware i2c interface. That > driver was specific to spear platforms. This patch implements the i2c controller > as a generic driver which can be used by multiple platforms > > The driver files are now renamed to designware_i2c.c and designware_i2c.h and > these are moved into drivers/i2c folder for reusability by other > platforms > > Signed-off-by: Vipin Kumar > Signed-off-by: Amit Virdi > --- > drivers/i2c/Makefile | 2 +- > drivers/i2c/{spr_i2c.c => designware_i2c.c} | 4 ++-- > .../spr_i2c.h => drivers/i2c/designware_i2c.h | 6 +++--- > include/configs/spear-common.h | 2 +- > 4 files changed, 7 insertions(+), 7 deletions(-) > rename drivers/i2c/{spr_i2c.c => designware_i2c.c} (98%) > rename arch/arm/include/asm/arch-spear/spr_i2c.h => drivers/i2c/designware_i2c.h (98%) 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