mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00

Allwinner R329 is a new dual-core Corte-A53 SoC. Add basical TF-A support for it, to provide a PSCI implementation containing CPU boot/shutdown and SoC reset. Change-Id: I0fa37ee9b4a8e0e1137bf7cf7d614b6ca9624bfe Signed-off-by: Icenowy Zheng <icenowy@sipeed.com>
27 lines
437 B
C
27 lines
437 B
C
/*
|
|
* Copyright (c) 2021 Sipeed
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <platform_def.h>
|
|
|
|
#include <sunxi_mmap.h>
|
|
#include <sunxi_cpucfg.h>
|
|
#include <sunxi_private.h>
|
|
|
|
int sunxi_pmic_setup(uint16_t socid, const void *fdt)
|
|
{
|
|
/* Currently known hardware has no PMIC */
|
|
|
|
return 0;
|
|
}
|
|
|
|
void sunxi_power_down(void)
|
|
{
|
|
}
|
|
|
|
void sunxi_cpu_power_off_self(void)
|
|
{
|
|
/* TODO: It's still unknown whether CPUIDLE exists on R329 */
|
|
}
|