mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
d6de5b0294
Support Sigma Designs ARM-based (specifically, Cortex-A9 MPCore r3p0) Tango4 "Secure Media Processor" platforms: smp8756, smp8758, smp8759 (8756 is single-core, the latter are dual-core). Note: 8758 vs 8759: same chip, different package. Support for older MIPS-based platforms can be found elsewhere: https://github.com/mansr/linux-tangox Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Reviewed-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
10 lines
153 B
ArmAsm
10 lines
153 B
ArmAsm
#include <linux/linkage.h>
|
|
|
|
ENTRY(tango_smc)
|
|
push {lr}
|
|
mov ip, r1
|
|
dsb /* This barrier is probably unnecessary */
|
|
smc #0
|
|
pop {pc}
|
|
ENDPROC(tango_smc)
|