aboutsummaryrefslogtreecommitdiff
path: root/include/configs/sun7i.h
diff options
context:
space:
mode:
authorChen-Yu Tsai2016-06-19 12:38:40 +0800
committerHans de Goede2016-07-15 15:54:57 +0200
commit9c4f52b855876862a7a30b63bde4a0d22605c3dc (patch)
treeb8b31d67c5819736d8c2fa6fa20440b4e601eef1 /include/configs/sun7i.h
parent3eff681818e2c858175a7cc4e766f75e95827920 (diff)
sunxi: Define CONFIG_ARMV7_SECURE_MAX_SIZE for sun6i/sun7i
Both sun6i and sun7i have 64 KB of secure SRAM. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs/sun7i.h')
-rw-r--r--include/configs/sun7i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
index 1c89fdf0d35..e9074d5dfbf 100644
--- a/include/configs/sun7i.h
+++ b/include/configs/sun7i.h
@@ -23,6 +23,7 @@
#define CONFIG_ARMV7_PSCI 1
#define CONFIG_ARMV7_PSCI_NR_CPUS 2
#define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE
+#define CONFIG_ARMV7_SECURE_MAX_SIZE (64 * 1024) /* 64 KB */
/*
* Include common sunxi configuration where most the settings are