checkpatch.pl: Report an error for CONFIG_xPL_BUILD in device trees
authorHendrik Donner <hd@os-cillation.de>
Thu, 6 Mar 2025 20:15:39 +0000 (21:15 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 14:17:36 +0000 (08:17 -0600)
commit69fb899133b6c374eff11b13482371bec6898a01
tree22d3adc60e67760d849d65c35f99ae3c084e69a6
parent15ba2b7356af035bc7dfd5c279e9658291fc7cf3
checkpatch.pl: Report an error for CONFIG_xPL_BUILD in device trees

The defines for the different build phases shouldn't be used in device
trees, currently they aren't even defined for device tree pre processing,
resulting in build errors.

Link: https://lists.denx.de/pipermail/u-boot/2025-March/582787.html
Signed-off-by: Hendrik Donner <hd@os-cillation.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/checkpatch.pl