armv8: layerscape: Discard the needless cpu nodes
authorWenbin song <wenbin.song@nxp.com>
Mon, 4 Dec 2017 04:18:29 +0000 (12:18 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 13 Dec 2017 21:40:29 +0000 (13:40 -0800)
commit20c7305101219aba62c9f1f84920a99d4026cad5
tree355bac1fb917a86490a9a58516828d912a54482c
parenta8f33034f2ed029dd04aae4cfdf11bf1f13a03a2
armv8: layerscape: Discard the needless cpu nodes

Using "cpu_pos_mask()" function to detect the real online cpus,
and discard the needless cpu nodes on kernel dts.

Signed-off-by: Wenbin Song <wenbin.song@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c