From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 17 Nov 2014 07:38:48 +0100 Subject: [U-Boot] [PATCH v2 09/17] dm: i2c: Implement driver model support in the i2c command In-Reply-To: <1415727993-22032-10-git-send-email-sjg@chromium.org> References: <1415727993-22032-1-git-send-email-sjg@chromium.org> <1415727993-22032-10-git-send-email-sjg@chromium.org> Message-ID: <546997F8.2080002@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 Simon, Am 11.11.2014 18:46, schrieb Simon Glass: > The concept of a 'current bus' is now implemented in the command line > rather than in the uclass. Also the address length does not need to > be specified with each command - really we should consider dropping > this from most commands but it works OK for now. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Change alen to int so that it can be -1 (this was a bug) > - Call the deblock() method for 'i2c reset' > > common/cmd_i2c.c | 336 ++++++++++++++++++++++++++++++++++++++++++++++--------- > 1 file changed, 284 insertions(+), 52 deletions(-) Acked-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany