[U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

Heiko Schocher hs at denx.de
Fri Feb 13 11:17:38 CET 2009


Hello ksi,

ksi at koi8.net wrote:
> Signed-off-by: Sergey Kubushyn <ksi at koi8.net>
> ---
> diff -purN u-boot-i2c.orig/drivers/i2c/soft_i2c.c u-boot-i2c/drivers/i2c/soft_i2c.c
> --- u-boot-i2c.orig/drivers/i2c/soft_i2c.c	2009-02-12 10:43:41.000000000 -0800
> +++ u-boot-i2c/drivers/i2c/soft_i2c.c	2009-02-12 10:46:00.000000000 -0800
> @@ -1,4 +1,8 @@
>  /*
> + * Copyright (c) 2009 Sergey Kubushyn <ksi at koi8.net>
> + *
> + * Changes for multibus/multiadapter I2C support.
> + *
>   * (C) Copyright 2001, 2002
>   * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
[...]

The following patch is based on your patches without 7/12 and
adds multibus support for the soft_i2c driver without doing such
a big change as you did. Maybe it is not yet perfect, because
it is just a fast try, but I think we should go this way. What
do you/others think?

Also it is compatible with existing board ports.
I tried this on an 8xx based board (mgsuvd) with success.



More information about the U-Boot mailing list