Newer
Older
arm-trusted-firmware / plat / allwinner / sun50i_a64 / sunxi_power.c
@Andre Przywara Andre Przywara on 20 Oct 2018 462 bytes allwinner: Pass SoC ID to sunxi_pmic_setup()
/*
 * 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
 */

#include <arch_helpers.h>
#include <debug.h>

int sunxi_pmic_setup(uint16_t socid)
{
	/* STUB */
	NOTICE("BL31: STUB PMIC setup code called\n");

	return 0;
}

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