[PATCH v2 10/19] i2c: designware_i2c: Put hold config in a struct

Heiko Schocher hs at denx.de
Thu Jan 16 07:52:47 CET 2020


Hello Simon,

Am 03.01.2020 um 23:26 schrieb Simon Glass:
> Create a struct to hold the three timing parameters. This will make it
> easier to move these calculations into a separate function in a later
> patch.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v2: None
> 
>   drivers/i2c/designware_i2c.c | 82 ++++++++++++++++++++++++------------
>   1 file changed, 55 insertions(+), 27 deletions(-)

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list