From: Chen-Yu Tsai Date: Sun, 19 Jun 2016 12:38:40 +0800 Subject: [U-Boot] [PATCH 10/15] sunxi: Define CONFIG_ARMV7_SECURE_MAX_SIZE for sun6i/sun7i In-Reply-To: <1466311125-20995-1-git-send-email-wens@csie.org> References: <1466311125-20995-1-git-send-email-wens@csie.org> Message-ID: <1466311125-20995-11-git-send-email-wens@csie.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Both sun6i and sun7i have 64 KB of secure SRAM. Signed-off-by: Chen-Yu Tsai --- include/configs/sun6i.h | 1 + include/configs/sun7i.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/configs/sun6i.h b/include/configs/sun6i.h index 95ccc35708a7..0625502f44b4 100644 --- a/include/configs/sun6i.h +++ b/include/configs/sun6i.h @@ -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 diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h index 1c89fdf0d356..e9074d5dfbf9 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 -- 2.8.1