diff options
author | Marcin Wojtas <mw@semihalf.com> | 2020-06-19 17:51:08 +0200 |
---|---|---|
committer | Marcin Wojtas <mw@semihalf.com> | 2020-06-19 18:03:29 +0200 |
commit | 94d6f48368d355406fc2f2e34333e905d7e6ea7c (patch) | |
tree | 948884c4cd3406531e2f524dfa100e205f082659 /plat/marvell/armada/a8k/common | |
parent | 63a0b12794ca38d0bdf8982ae4009b78350c43e5 (diff) | |
download | arm-trusted-firmware-94d6f48368d355406fc2f2e34333e905d7e6ea7c.tar.gz |
plat: marvell: armada: reduce memory size reserved for FIP image
It is not needed to reserve 64MB for FIP. Limit this to 4MB
for both supported Armada SoC families.
Change-Id: I58a8ce4408a646fe1afd3c1ea1ed54007c8d205d
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
[Extract from bigger commit]
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Diffstat (limited to 'plat/marvell/armada/a8k/common')
-rw-r--r-- | plat/marvell/armada/a8k/common/include/platform_def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/marvell/armada/a8k/common/include/platform_def.h b/plat/marvell/armada/a8k/common/include/platform_def.h index d0df06271..b26e3ea1e 100644 --- a/plat/marvell/armada/a8k/common/include/platform_def.h +++ b/plat/marvell/armada/a8k/common/include/platform_def.h @@ -94,8 +94,8 @@ /* Part of DRAM that is used as Trusted ROM */ #define PLAT_MARVELL_TRUSTED_ROM_BASE PLAT_MARVELL_ATF_LOAD_ADDR -/* 64 MB TODO: reduce this to minimum needed according to fip image size */ -#define PLAT_MARVELL_TRUSTED_ROM_SIZE 0x04000000 +/* 4 MB for FIP image */ +#define PLAT_MARVELL_TRUSTED_ROM_SIZE 0x00400000 /* Reserve 16M for SCP (Secure PayLoad) Trusted RAM */ #define PLAT_MARVELL_TRUSTED_RAM_BASE 0x04400000 #define PLAT_MARVELL_TRUSTED_RAM_SIZE 0x01000000 /* 16 MB DRAM */ |