blob: a2110e95003a8728342efc6cd2380dd08e12b4a1 [file] [log] [blame]
Icenowy Zheng7c26b6e2018-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 Zheng5069c1c2018-07-22 21:52:50 +08008#include <arch_helpers.h>
Icenowy Zheng7c26b6e2018-07-21 20:41:12 +08009#include <debug.h>
10
Andre Przywarafe57c7d2018-09-08 19:18:37 +010011int sunxi_pmic_setup(uint16_t socid)
Icenowy Zheng7c26b6e2018-07-21 20:41:12 +080012{
13 /* STUB */
14 NOTICE("BL31: STUB PMIC setup code called\n");
15
16 return 0;
17}
Icenowy Zheng5069c1c2018-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}