[PATCH] powerpc: i2c-mpc: make speed registers configurable via FDT
Timur Tabi
timur at freescale.com
Fri Aug 1 07:17:24 EST 2008
Wolfgang Grandegger wrote:
> U-Boot does not (yet) use the FDT and it has therefore to use that ugly
> code to derive the I2C input clock frequency. I think its completely
> legal to put that hardware specific information into the FDT and get rid
> of such code.
Huh? U-Boot initializes several fields and creates several properties in the
FDT today, so what's wrong with adding another one? The clock frequencies have
always been calculated by U-Boot, because putting them in the device tree is a
bad idea.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list