commit | 1132f367671f7ed5d1b690956dcacc87497f84c2 | [log] [tgz] |
---|---|---|
author | Yannic Moog <y.moog@phytec.de> | Wed Dec 20 09:45:32 2023 +0100 |
committer | Fabio Estevam <festevam@denx.de> | Wed Dec 20 15:04:46 2023 -0300 |
tree | fac068a3245f09f2ba68ca30c892c547835f9954 | |
parent | 580136b5ce7cc9355649afc52b732c00ec1afd6c [diff] |
board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type phytec_imx8m_detect returns -1 on error, but the return type is u8 leading to 255 return values. Fix this by changing the return type to int; there is no reason to keep it as u8 . Signed-off-by: Yannic Moog <y.moog@phytec.de>