From e25a0656bac63c5fcd20ef4313dc09c409fc512d Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sun, 28 Feb 2016 12:33:17 -0300 Subject: mx7: Distinguish between dual and solo versions Read the number of cores in the fuses to distinguish between the dual and solo versions. Tested on a mx7d sabresd and on a mx7solo warp7. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan --- arch/arm/imx-common/cpu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/imx-common') diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index 656bb60bbe..5fb3ed840f 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -137,6 +137,8 @@ unsigned imx_ddr_size(void) const char *get_imx_type(u32 imxtype) { switch (imxtype) { + case MXC_CPU_MX7S: + return "7SOLO"; /* Single-core version of the mx7 */ case MXC_CPU_MX7D: return "7D"; /* Dual-core version of the mx7 */ case MXC_CPU_MX6QP: -- cgit v1.2.1