Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
10 lines
433 B
C
10 lines
433 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
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(val, 0x105)
|
|
#define tango_suspend(val) tango_smc(val, 0x120)
|
|
#define tango_aux_core_die(val) tango_smc(val, 0x121)
|
|
#define tango_aux_core_kill(val) tango_smc(val, 0x122)
|