
15 Jan
2024
15 Jan
'24
8:53 p.m.
On Mon, Jan 15, 2024 at 6:31 AM Yannic Moog y.moog@phytec.de wrote:
Commit aa7858fe5e2e ("board: phytec: som_detection: move definitions to source file") moved function definitions from header to source file. Makefile however was not updated to unconditionally (from [..]_SOM_DETECTION) build the imx8 and phytec som detection units. Also remove unused includes that cause build failures on arm 32bit boards. SoM detection shall support 32bit boards as well, but arch specific code should not be included in the generic module.
Fixes: aa7858fe5e2e ("board: phytec: som_detection: move definitions to source file") Signed-off-by: Yannic Moog y.moog@phytec.de
Changes in v2:
- change imx8m_som_detection to conditionally compile when arch is IMX8M
- remove unused includes
- Add reasoning in commit message
Applied, thanks.