blob: c1907d6d23d36f0b07b56e33594e13398a2d8365 [file] [log] [blame]
Icenowy Zheng7508bef2018-07-21 20:41:12 +08001/*
2 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3 * Copyright (c) 2018, Icenowy Zheng <icenowy@aosc.io>
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
Icenowy Zhengbd57eb52018-07-22 21:52:50 +08008#include <arch_helpers.h>
Icenowy Zheng7508bef2018-07-21 20:41:12 +08009#include <debug.h>
10
11int sunxi_pmic_setup(void)
12{
13 /* STUB */
14 NOTICE("BL31: STUB PMIC setup code called\n");
15
16 return 0;
17}
Icenowy Zhengbd57eb52018-07-22 21:52:50 +080018
19void __dead2 sunxi_power_down(void)
20{
21 ERROR("PSCI: Full shutdown not implemented, halting\n");
22 wfi();
23 panic();
24}