From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 16 Feb 2009 10:03:10 +0100 Subject: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4 In-Reply-To: References: <499548C2.7060305@denx.de> <49967FAC.6090905@denx.de> <4997CAAE.60401@denx.de> Message-ID: <49992BCE.5020906@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 ksi, ksi at koi8.net wrote: > On Sun, 15 Feb 2009, Heiko Schocher wrote: >> ksi at koi8.net wrote: >>> On Sat, 14 Feb 2009, Heiko Schocher wrote: >>>> ksi at koi8.net wrote: >>>>> On Fri, 13 Feb 2009, Heiko Schocher wrote: >>>>> >>>>>> ksi at koi8.net wrote: >>>>>> >>>>>>> Signed-off-by: Sergey Kubushyn >>>>>>> --- >>>>>>> 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 >>>>>>> + * >>>>>>> + * Changes for multibus/multiadapter I2C support. >>>>>>> + * >>>>>>> * (C) Copyright 2001, 2002 >>>>>>> * Wolfgang Denk, DENX Software Engineering, wd at denx.de. >>>>>>> [...] >> Yes, good point. But do we need more then one i2c adapter when running >> from flash? I see only one reason to use i2c when running from flash: >> accessing SPD EEprom ... and this "bus" could always be the first >> hw adapter. All other accesses to i2c should be moved to run when >> we are in ram. > > You can have, e.g. TWO SPD EEPROMs on different busses. And please remember > that infamous "640K ought to be enough for anybody..." OK, if we really need this. bye Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany