u-boot/board/phytec/common
Yannic Moog e2449ee968 board: phytec: phytec_som_detection: fix uninitialized bug
When som_type does not match any case, it is uninitialized and the
function still tries to print the SoM info. Rather, this is an error
condition and the function should abort prematurely. Highlight this by
printing an error message and returning early.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
2023-12-20 15:04:46 -03:00
..
imx8m_som_detection.c board: phytec: som_detection: move definitions to source file 2023-12-20 15:04:46 -03:00
imx8m_som_detection.h board: phytec: som_detection: move definitions to source file 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 uninitialized bug 2023-12-20 15:04:46 -03:00
phytec_som_detection.h board: phytec: som_detection: move definitions to source file 2023-12-20 15:04:46 -03:00