]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx: bootaux: Fix macro misuse
authorMarek Vasut <marex@denx.de>
Tue, 13 Dec 2022 04:46:06 +0000 (05:46 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 22:23:02 +0000 (23:23 +0100)
commit632ab6cb84ebe05e1bf2ac224cb5f7a14f83d44d
tree8d045073002d72a6a589d2342a07e04a8d539d5b
parent46567bbadd17733ecd9898626380467120c03272
ARM: imx: bootaux: Fix macro misuse

There are no CONFIG_{TOOLS_,SPL_,TPL_,}IMX8M macros, nor is there one for
ARM64. Use plain IS_ENABLED(CONFIG_IMX8M) and IS_ENABLED(CONFIG_ARM64) to
avoid expanding the {TOOLS_,SPL_,TPL_,} part.

Fixes: 9d22a64ea09d ("imx: bootaux: cleanup code")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx_bootaux.c