[PATCH] [RFC] i2c: stm32f2: FIXME: Disable I2C timing calculation
marex at denx.de
Tue Mar 24 23:47:33 CET 2020
On 3/24/20 11:46 PM, Marek Vasut wrote:
> WARNING: This is NOT a fix, but rather a bug report / notice of a problem.
> Disable the I2C timing calculation. The calculation is adding 1 second (!)
> to the SPL boot time only to calculate I2C timing parameters, that is not
> acceptable. Moreover, it is exercising the memory allocator massively.
> Is there no simplified timing parameter calculation which could replace
> that horribleness ?
Also note the DWC i2c driver has some rather simple I2C setup/hold time
calculation, maybe that could be recycled ?
More information about the U-Boot