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)
commit4408cd6641175b6f7a10d4456d51495426ae4cd9
tree8d045073002d72a6a589d2342a07e04a8d539d5b
parent5cae28c3b109c016c1527f857f584c1e962d075b
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: 56c2dbdabab5 ("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