ARM: i.MX: When generic DT image is enabled do not hardcode SoC
When only a single i.MX SoC is selected the cpu_is_mx?() macros expand
to static 0 or 1. With the generic DT image enabled it could be though
that the SoC is not a i.MX at all, so make sure that with the generic
DT image enabled the cpu_is_mx?() macros always compare against
__imx_cpu_type

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 66f5e31 commit b9014db5661d5a447f2d2d7717ad9be839d5e741
@Sascha Hauer Sascha Hauer authored on 19 Aug 2019
Showing 1 changed file
View
arch/arm/mach-imx/include/mach/generic.h