[PATCH v2 05/19] i2c: designware_i2c: Use an enum for selected speed mode

Heiko Schocher hs at denx.de
Thu Jan 16 07:43:53 CET 2020


Hello Simon,

Am 03.01.2020 um 23:26 schrieb Simon Glass:
> Group these #defines into an enum to make it easier to understand the
> relationship between them.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v2: None
> 
>   drivers/i2c/designware_i2c.c |  2 +-
>   drivers/i2c/designware_i2c.h | 10 +++++++---
>   2 files changed, 8 insertions(+), 4 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