summaryrefslogtreecommitdiffstats
path: root/lib/ldiv.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2019-08-05 09:03:30 +0300
committerHeiko Schocher <hs@denx.de>2019-08-27 06:26:49 +0200
commit5ae84860b0428b37063a6d7b03cae26a4e772da7 (patch)
tree93c4681cd9a1d10264fc6d1cf5e917b26259578b /lib/ldiv.c
parentd7d864017d7f21a4cc3ff2a902024724c26ad213 (diff)
downloadu-boot-5ae84860b0428b37063a6d7b03cae26a4e772da7.tar.gz
u-boot-5ae84860b0428b37063a6d7b03cae26a4e772da7.tar.xz
u-boot-5ae84860b0428b37063a6d7b03cae26a4e772da7.zip
misc: i2c_eeprom: verify that the chip is functional at probe()
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@baylibre.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> hs: fixed style check prefer kernel type 'u8' over 'uint8_t'
Diffstat (limited to 'lib/ldiv.c')
0 files changed, 0 insertions, 0 deletions