armv8: Remove duplicate definition for IH_ARCH_ARM and IH_ARCH_ARM64
authorAlison Wang <b18965@freescale.com>
Thu, 8 Jun 2017 08:15:14 +0000 (16:15 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 1 Aug 2017 15:28:56 +0000 (08:28 -0700)
commit020b3ce8aeec1f452c2a3a7d37c53b4d1574ec35
treefc2dbfa4f6a1a413242c1ce19868a9a8d9b87f21
parent4df24f2c40e3ae4856cc484e8d75f9cf12f9161c
armv8: Remove duplicate definition for IH_ARCH_ARM and IH_ARCH_ARM64

The duplicate definitions for IH_ARCH_ARM and IH_ARCH_ARM64 are removed.
The definitions in <image.h> are used.

According to this modification, the comparison between os arch and cpu
arch is done in C programming instead of ASM programming.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S
arch/arm/cpu/armv8/fsl-layerscape/mp.c
arch/arm/include/asm/arch-fsl-layerscape/mp.h