[PATCH v2] board: phytec: fix link error when disabling PHYTEC_SOM_DETECTION

Fabio Estevam festevam at gmail.com
Mon Jan 15 20:53:23 CET 2024


On Mon, Jan 15, 2024 at 6:31 AM Yannic Moog <y.moog at 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 at 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.


More information about the U-Boot mailing list