diff options
author | Chen-Yu Tsai <wens@csie.org> | 2015-08-25 10:49:19 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-08-31 08:43:42 +0200 |
commit | 92369844ec7bf0e63de51e19b281fe3739e01397 (patch) | |
tree | add7a1f64102a55f53b06877c2fb9f547e045bc6 /arch/arm/cpu/armv7/sunxi/Makefile | |
parent | 3537a0e8caa33ad4af354d5efc6be117b0728856 (diff) | |
download | talos-obmc-uboot-92369844ec7bf0e63de51e19b281fe3739e01397.tar.gz talos-obmc-uboot-92369844ec7bf0e63de51e19b281fe3739e01397.zip |
sunxi: Enable non-secure access to RTC on sun6i (A31s)
On the A31s the RTC is by default secured. Thus when u-boot
loads the kernel in non-secure world, the RTC is unavailable. The
SoC has a TrustZone Protection Controller, which can be used to
enable non-secure access to the RTC.
On the A31 the TZPC doesn't seem to do anything, i.e. changes to
its register contents do not affect access to the RTC.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/cpu/armv7/sunxi/Makefile')
-rw-r--r-- | arch/arm/cpu/armv7/sunxi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/Makefile b/arch/arm/cpu/armv7/sunxi/Makefile index 76c7e555f1..459d5d8b0c 100644 --- a/arch/arm/cpu/armv7/sunxi/Makefile +++ b/arch/arm/cpu/armv7/sunxi/Makefile @@ -28,6 +28,7 @@ obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o +obj-$(CONFIG_MACH_SUN6I) += tzpc.o obj-$(CONFIG_AXP152_POWER) += pmic_bus.o obj-$(CONFIG_AXP209_POWER) += pmic_bus.o |