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

Heiko Schocher hs at denx.de
Mon Feb 16 10:03:10 CET 2009


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 <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.
>>>>>>>           
[...]
>> 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


More information about the U-Boot mailing list