[U-Boot] [PATCH] misc: i2c_eeprom: verify that the chip is functional at probe()

Heiko Schocher hs at denx.de
Tue Aug 27 09:47:59 UTC 2019


Hello Baruch,

Am 05.08.2019 um 08:03 schrieb Baruch Siach:
> Read a single byte from EEPROM to verify that it is actually there.
> 
> This is equivalent to Linux kernel commit 00f0ea70d2b8 ("eeprom: at24:
> check if the chip is functional in probe()").
> 
> Cc: Bartosz Golaszewski <bgolaszewski at baylibre.com>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>   drivers/misc/i2c_eeprom.c | 8 ++++++++
>   1 file changed, 8 insertions(+)

after fixed style check prefer kernel type 'u8' over 'uint8_t'

applied to u-boot-i2c master

Thanks!

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