/* * Copyright (c) 2017-2021, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SUNXI_PRIVATE_H #define SUNXI_PRIVATE_H #include void sunxi_configure_mmu_el3(int flags); void sunxi_cpu_on(u_register_t mpidr); void sunxi_cpu_power_off_others(void); void sunxi_cpu_power_off_self(void); void sunxi_power_down(void); void sunxi_set_native_psci_ops(const plat_psci_ops_t **psci_ops); int sunxi_set_scpi_psci_ops(const plat_psci_ops_t **psci_ops); int sunxi_validate_ns_entrypoint(uintptr_t ns_entrypoint); int sunxi_pmic_setup(uint16_t socid, const void *fdt); void sunxi_security_setup(void); uint16_t sunxi_read_soc_id(void); void sunxi_set_gpio_out(char port, int pin, bool level_high); int sunxi_init_platform_r_twi(uint16_t socid, bool use_rsb); void sunxi_execute_arisc_code(uint32_t *code, size_t size, uint16_t param); #endif /* SUNXI_PRIVATE_H */