mx7: Distinguish between dual and solo versions
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 28 Feb 2016 15:33:17 +0000 (12:33 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Mar 2016 11:50:39 +0000 (12:50 +0100)
commite25a0656bac63c5fcd20ef4313dc09c409fc512d
tree4a30d53acb7d103362be51f92a404b1f7886cde9
parent5d69269deed053d2733bdd0fe537fcba663c0826
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 <fabio.estevam@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv7/mx7/soc.c
arch/arm/imx-common/cpu.c
arch/arm/include/asm/arch-imx/cpu.h