mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 02:34:23 +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>
6 lines
248 B
C
6 lines
248 B
C
extern int tango_smc(unsigned int val, unsigned int service);
|
|
|
|
#define tango_set_l2_control(val) tango_smc(val, 0x102)
|
|
#define tango_start_aux_core(val) tango_smc(val, 0x104)
|
|
#define tango_set_aux_boot_addr(val) tango_smc((unsigned int)val, 0x105)
|