ARM: keystone: Move CPU bringup code to dedicated asm file
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 21 Jun 2013 22:54:47 +0000 (18:54 -0400)
committerArnd Bergmann <arnd@arndb.de>
Mon, 24 Jun 2013 14:23:36 +0000 (16:23 +0200)
commit3aae7ab0f15d69166789cf84aea39e6b438c4c26
tree79326b144c155370799c3bbffb2f60c9b33f374c
parent24e860fbfdb1c3f97d17d3578a146f3b42b9ad83
ARM: keystone: Move CPU bringup code to dedicated asm file

Because of inline asm usage in platsmp.c, smc instruction
creates build failure for ARM V6+V7 build where as using instruction
encoding for smc breaks the thumb2 build.

So move the code snippet to separate asm file and mark
it with 'armv7-a$(plus_sec)' to avoid any build issues.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-keystone/Makefile
arch/arm/mach-keystone/keystone.h
arch/arm/mach-keystone/platsmp.c
arch/arm/mach-keystone/smc.S [new file with mode: 0644]