sunxi_power.c 462 Bytes
Newer Older
1
2
3
4
5
6
7
/*
 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
 * Copyright (c) 2018, Icenowy Zheng <icenowy@aosc.io>
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

8
#include <arch_helpers.h>
9
10
#include <debug.h>

11
int sunxi_pmic_setup(uint16_t socid)
12
13
14
15
16
17
{
	/* STUB */
	NOTICE("BL31: STUB PMIC setup code called\n");

	return 0;
}
18
19
20
21
22
23
24

void __dead2 sunxi_power_down(void)
{
	ERROR("PSCI: Full shutdown not implemented, halting\n");
	wfi();
	panic();
}