mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +00:00
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>
This commit is contained in:
parent
3eff681818
commit
9c4f52b855
2 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
#define CONFIG_ARMV7_PSCI 1
|
#define CONFIG_ARMV7_PSCI 1
|
||||||
#define CONFIG_ARMV7_PSCI_NR_CPUS 4
|
#define CONFIG_ARMV7_PSCI_NR_CPUS 4
|
||||||
#define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE
|
#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
|
* Include common sunxi configuration where most the settings are
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#define CONFIG_ARMV7_PSCI 1
|
#define CONFIG_ARMV7_PSCI 1
|
||||||
#define CONFIG_ARMV7_PSCI_NR_CPUS 2
|
#define CONFIG_ARMV7_PSCI_NR_CPUS 2
|
||||||
#define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE
|
#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
|
* Include common sunxi configuration where most the settings are
|
||||||
|
|
Loading…
Reference in a new issue