]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: phytec: fix link error when disabling PHYTEC_SOM_DETECTION
authorYannic Moog <y.moog@phytec.de>
Mon, 15 Jan 2024 09:31:41 +0000 (10:31 +0100)
committerFabio Estevam <festevam@gmail.com>
Mon, 15 Jan 2024 09:35:50 +0000 (06:35 -0300)
commit1aebea9bde46bc123b72a7218a4fd8d99bfa2a90
tree41e2b72944b9b5ca3e83b059d79fdbbbf9cf642f
parent645add770e23f453fcd4b80c569d5cffb79e0ccb
board: phytec: fix link error when disabling PHYTEC_SOM_DETECTION

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>
board/phytec/common/Makefile
board/phytec/common/phytec_som_detection.c