diff options
author | Samuel Holland <samuel@sholland.org> | 2019-10-20 21:34:38 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2019-12-13 19:22:34 -0600 |
commit | fb23b104c06d29206864e905eedea48518ec5e47 (patch) | |
tree | 1f158dec2051c06291bef4b2add62c14f339dc1a /plat/allwinner/common | |
parent | f6d9c4cafa6a74f29f7b305a71ef122d470ed03c (diff) | |
download | trusted-firmware-a-fb23b104c06d29206864e905eedea48518ec5e47.tar.gz |
allwinner: h6: power: Switch to using the AXP driver
Chip ID checking and poweroff work just like they did before.
Regulators are now enabled just like on A64/H5.
This changes the signatures of the low-level register read/write
functions to match the interface expected by the common driver.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: I14d63d171a094fa1375904928270fa3e21761646
Diffstat (limited to 'plat/allwinner/common')
-rw-r--r-- | plat/allwinner/common/allwinner-common.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plat/allwinner/common/allwinner-common.mk b/plat/allwinner/common/allwinner-common.mk index 6866bd65aa..5e8885d7ad 100644 --- a/plat/allwinner/common/allwinner-common.mk +++ b/plat/allwinner/common/allwinner-common.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -20,7 +20,8 @@ PLAT_BL_COMMON_SOURCES := drivers/ti/uart/${ARCH}/16550_console.S \ ${AW_PLAT}/common/plat_helpers.S \ ${AW_PLAT}/common/sunxi_common.c -BL31_SOURCES += drivers/arm/gic/common/gic_common.c \ +BL31_SOURCES += drivers/allwinner/axp/common.c \ + drivers/arm/gic/common/gic_common.c \ drivers/arm/gic/v2/gicv2_helpers.c \ drivers/arm/gic/v2/gicv2_main.c \ drivers/delay_timer/delay_timer.c \ |