aboutsummaryrefslogtreecommitdiff
path: root/doc/README.atmel_pmecc
diff options
context:
space:
mode:
authorYannic Moog <y.moog@phytec.de>2023-12-20 09:45:36 +0100
committerFabio Estevam <festevam@denx.de>2023-12-20 15:04:46 -0300
commite2449ee9680cd316a70053bb638b76e96c6578e5 (patch)
tree9a7fa6393aed7fd1ef0299f208879654bfa98d85 /doc/README.atmel_pmecc
parentaa7858fe5e2ef3d74129175c4044c9bb59174b4a (diff)
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>
Diffstat (limited to 'doc/README.atmel_pmecc')
0 files changed, 0 insertions, 0 deletions