]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Define CONFIG_ARMV7_SECURE_MAX_SIZE for sun6i/sun7i
authorChen-Yu Tsai <wens@csie.org>
Sun, 19 Jun 2016 04:38:40 +0000 (12:38 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:57 +0000 (15:54 +0200)
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>
include/configs/sun6i.h
include/configs/sun7i.h

index 95ccc35708a7ecba89b9c3a1b2cddd5d8b515d29..0625502f44b49fa4980b59834540a7f2eb623b0d 100644 (file)
@@ -25,6 +25,7 @@
 #define CONFIG_ARMV7_PSCI              1
 #define CONFIG_ARMV7_PSCI_NR_CPUS      4
 #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
index 1c89fdf0d356eb46a0616ae12bb76283ef0f807d..e9074d5dfbf9817cdb483d6d495c8282619981de 100644 (file)
@@ -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