[U-Boot-Users] PATCH: Add command support for multiple I2Ccontrollers

Wolfgang Denk wd at denx.de
Fri May 19 00:56:25 CEST 2006


In message <14ACE099F888004586603AEC0A559C2E071D28 at DLEE09.ent.ti.com> you wrote:
>
> >Philips spec!  I guess we should consider moving everything to a
> ushort.
> How about having a I2C_TEN_SUPPORT
> And typedef i2c_addr_t to ushort or uchar based on this? There will be
> other changes also (such as scan length etc.).

No. Don't pollute the code with lots of #ifdef's if we  can  make  it
clean with a bigger data type.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The explanation requiring the fewest assumptions is the  most  likely
to be correct.                                    -- William of Occam




More information about the U-Boot mailing list