Browse Source
As the ATF may need to do some power initialization on Allwinner platform with AXP PMICs, call the PMIC setup code in BL31. Stub of PMIC setup code is added, to prevent undefined reference. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>pull/1534/head
Icenowy Zheng
6 years ago
6 changed files with 38 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||
/*
|
|||
* 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 <debug.h> |
|||
|
|||
int sunxi_pmic_setup(void) |
|||
{ |
|||
/* STUB */ |
|||
NOTICE("BL31: STUB PMIC setup code called\n"); |
|||
|
|||
return 0; |
|||
} |
@ -0,0 +1,16 @@ |
|||
/*
|
|||
* 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 <debug.h> |
|||
|
|||
int sunxi_pmic_setup(void) |
|||
{ |
|||
/* STUB */ |
|||
NOTICE("BL31: STUB PMIC setup code called\n"); |
|||
|
|||
return 0; |
|||
} |
Loading…
Reference in new issue