u-boot/board/phytec/common
Yannic Moog 71714cda3d board: phytec: phytec_som_detection: fix eeprom_data zero check
In phytec_eeprom_data_init, after reading eeprom data into buffer, it is
checked whether all bytes are 0x0 by iterating over chunks of the
buffer. The offset, or index of the chunk, was never changed, leading to
repeated comparison of only the first chunk. Use array notation and
access chunk via array index to compare all chunks of the buffer.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
2023-12-20 15:04:46 -03:00
..
imx8m_som_detection.c board: phytec: imx8m_som_detection: fix uninitialized pointer bug 2023-12-20 15:04:46 -03:00
imx8m_som_detection.h board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type 2023-12-20 15:04:46 -03:00
Kconfig board: phytec: common: Add imx8m specific EEPROM detection support 2023-10-16 11:27:58 +02:00
Makefile board: phytec: common: Add imx8m specific EEPROM detection support 2023-10-16 11:27:58 +02:00
phytec_som_detection.c board: phytec: phytec_som_detection: fix eeprom_data zero check 2023-12-20 15:04:46 -03:00
phytec_som_detection.h board: phytec: common: phytec_som_detection: Add helper for PCB revision 2023-10-16 11:27:58 +02:00