diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-04-24 22:49:02 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2016-06-02 01:29:47 +0100 |
commit | c3d213438c1cb492cbe752c57de413bd3f63904d (patch) | |
tree | 0c5012a8ab9ca10bc3c2c84eb07ed325870db83c /plat | |
parent | e9fc3439a6e909546d9851bac4679a6b08e49511 (diff) |
sun50i: limit ATF size
Without the arisc we don't need any buffer memory for SCP communication
anymore, so we can drastically reduce the memory footprint of ATF
from 2MB to 64KB. This is needed to put ATF eventually in SRAM.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/sun50iw1p1/sunxi_def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/sun50iw1p1/sunxi_def.h b/plat/sun50iw1p1/sunxi_def.h index ac5c36b..4c8e375 100644 --- a/plat/sun50iw1p1/sunxi_def.h +++ b/plat/sun50iw1p1/sunxi_def.h @@ -63,7 +63,7 @@ //monitor area(atf+scp) #define SUNXI_TRUSTED_MONITOR_BASE 0x40000000 -#define SUNXI_TRUSTED_MONITOR_SIZE (2<<20) //2MB +#define SUNXI_TRUSTED_MONITOR_SIZE (64 << 10) /* 64 KByte */ //sec os area #define SUNXI_TRUSTED_DRAM_BASE 0x40200000 @@ -73,7 +73,7 @@ #define SUNXI_TRUSTED_RAM_SIZE 0x01000000 //total 16M //atf code limit -#define SUNXI_TRUSTED_MONITOR_LIMIT (SUNXI_TRUSTED_MONITOR_BASE + (1<<20)) //1M +#define SUNXI_TRUSTED_MONITOR_LIMIT (SUNXI_TRUSTED_MONITOR_BASE + SUNXI_TRUSTED_MONITOR_SIZE) /* 4KB shared memory */ |