MLK-15286 arm: arm64: only use general regs
authorPeng Fan <peng.fan@nxp.com>
Mon, 26 Jun 2017 12:18:10 +0000 (20:18 +0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:19 +0000 (04:28 -0700)
commit3002af0ff57e9db40baeefbc14a336ad206e8fea
treef1aa4695d9471db5e729dc79b5c8eb5a12c6dda0
parentf303f969ebb0f525c413c47519725275d00025a1
MLK-15286 arm: arm64: only use general regs

When compiling with android toolchain, there is an instruction
"str     q0, [x8],#16", but x8 is not 16bytes aligned,
this instruction will trigger sync abort.

So, following Linux kernel, only use general regs for arm64.
If not, compiler may use simd registers Q[x]. We need to avoid
using simd registers in U-Boot, because load/store Q[x] has
restriction that 128bits aligned when str/ldr.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 186ccd8de53f986c5913432638dfaca9bdc97e89)
(cherry picked from commit 8f3f0d339783e066f7815408949677b62e465b62)
arch/arm/Makefile