summaryrefslogtreecommitdiff
path: root/include/configs/sun7i.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2014-07-18 21:06:38 +0100
committerHans de Goede <hdegoede@redhat.com>2014-07-31 15:37:24 +0200
commitd5db7024aafc5ea603f3a34f83bb29a1eaa3cbe7 (patch)
tree103f08f56ad35d1e042061fbccd7d25ea2924355 /include/configs/sun7i.h
parent366cc5027841d8b53e3166911f595b9de2aef407 (diff)
downloadu-boot-imx-d5db7024aafc5ea603f3a34f83bb29a1eaa3cbe7.zip
u-boot-imx-d5db7024aafc5ea603f3a34f83bb29a1eaa3cbe7.tar.gz
u-boot-imx-d5db7024aafc5ea603f3a34f83bb29a1eaa3cbe7.tar.bz2
sunxi: HYP/non-sec: add sun7i PSCI backend
So far, only supporting the CPU_ON method. Other functions can be added later. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs/sun7i.h')
-rw-r--r--include/configs/sun7i.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
index b5992d2..2a6a9e8 100644
--- a/include/configs/sun7i.h
+++ b/include/configs/sun7i.h
@@ -29,6 +29,12 @@
#endif
#endif
+#define CONFIG_ARMV7_VIRT 1
+#define CONFIG_ARMV7_NONSEC 1
+#define CONFIG_ARMV7_PSCI 1
+#define CONFIG_ARMV7_PSCI_NR_CPUS 2
+#define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE
+
/*
* Include common sunxi configuration where most the settings are
*/