linux/arch/arm/mach-bcm
Alex Elder 8b9c550e37 ARM: bcm: use inline assembly for "smc" request
Move the code that implements the "smc" call into a C function that
uses inline assembly.  This allows us to make that function private,
and enables us to get rid of "arch/arm/mach-bcm/bcm_kona_smc_asm.S".
Rename what had been the "buffer_addr" argument to be "buffer_phys"
so it's consistent with other usage in this file.

Since it's now easy to do, verify that r12 contains SEC_EXIT_NORMAL
upon completion of the SMC.  There really isn't a good way to handle
the abnormal completion of a secure monitor request.

Since "bcm_kona_smc.h" is now only included from C files, eliminate
the #ifndef __ASSEMBLY__.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Matt Porter <mporter@linaro.org>
2014-04-25 08:51:36 -04:00
..
bcm_5301x.c ARM: BCM5301X: workaround suppress fault 2014-03-06 00:36:04 -05:00
bcm_kona_smc.c ARM: bcm: use inline assembly for "smc" request 2014-04-25 08:51:36 -04:00
bcm_kona_smc.h ARM: bcm: use inline assembly for "smc" request 2014-04-25 08:51:36 -04:00
board_bcm281xx.c ARM: bcm281xx: Rename board_init() function 2014-03-06 03:18:01 -05:00
board_bcm2835.c ARM: bcm2835: Move to mach-bcm directory 2014-02-24 19:42:35 -07:00
board_bcm21664.c ARM: bcm: tidy up a few includes 2014-04-25 08:51:36 -04:00
Kconfig ARM: bcm: config option for l2 cache support 2014-04-25 08:51:35 -04:00
kona.c ARM: bcm: tidy up a few includes 2014-04-25 08:51:36 -04:00
kona.h ARM: bcm: tidy up a few includes 2014-04-25 08:51:36 -04:00
Makefile ARM: bcm: use inline assembly for "smc" request 2014-04-25 08:51:36 -04:00