diff options
author | Christoph Müllner <christophm30@gmail.com> | 2019-04-24 09:52:54 +0200 |
---|---|---|
committer | Christoph Müllner <christophm30@gmail.com> | 2019-05-02 12:27:19 +0200 |
commit | 33218d2a8143ef54684db529f1a8a5182e5a52f7 (patch) | |
tree | 1f6570d5a6b930097a243c8098fe52fa3d0e5a86 /plat/rockchip/rk3399 | |
parent | 9e4609f103a16d6e74151a3046012a8b454da06e (diff) | |
download | trusted-firmware-a-33218d2a8143ef54684db529f1a8a5182e5a52f7.tar.gz |
rockchip: Disable binary generation for all SoCs.
All supported Rockchip SoCs (RK3288, RK3328, RK3368 and RK3399)
have non-continuous memory areas in the linker script with a huge
gap between them. This results in extremely padded binary images
with a size of about 4 GiB.
E.g. on the RK3399 we have the following memory areas (and base addresses):
RAM (0x1000), SRAM (0xFF8C0000), and PMUSRAM (0xFF3B0000).
Consumers of the TF-A project (e.g. coreboot or U-Boot) therefore
use the ELF image instead, which has a size of a few hundred kBs.
In order to prevent the generation of a huge and useless file,
this patch disables the binary generation for all affected Rockchip
SoCs.
Signed-off-by: Christoph Müllner <christophm30@gmail.com>
Change-Id: I4ac65bdf1e598c3e1a59507897d183aee9a36916
Diffstat (limited to 'plat/rockchip/rk3399')
-rw-r--r-- | plat/rockchip/rk3399/platform.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/rockchip/rk3399/platform.mk b/plat/rockchip/rk3399/platform.mk index c73df6d767..f917f61ba0 100644 --- a/plat/rockchip/rk3399/platform.mk +++ b/plat/rockchip/rk3399/platform.mk @@ -8,6 +8,8 @@ RK_PLAT := plat/rockchip RK_PLAT_SOC := ${RK_PLAT}/${PLAT} RK_PLAT_COMMON := ${RK_PLAT}/common +DISABLE_BIN_GENERATION := 1 + PLAT_INCLUDES := -I${RK_PLAT_COMMON}/ \ -I${RK_PLAT_COMMON}/include/ \ -I${RK_PLAT_COMMON}/aarch64/ \ |