diff options
author | Christoph Müllner <christophm30@gmail.com> | 2019-04-24 09:52:54 +0200 |
---|---|---|
committer | Christoph Müllner <christophm30@gmail.com> | 2019-04-25 22:38:15 +0200 |
commit | 1cff989fc88061322428267ebe50e409e7e1df55 (patch) | |
tree | 0b696aae20e49c196748599f3640015e79da0dc2 | |
parent | 60573219267496cc3634283dc1d171f2310fbac2 (diff) |
rk3399: Disable binary generation.puma-v2.1
On the RK3399 we have the following memory areas (and base addresses):
* RAM (0x1000)
* SRAM (0xFF8C0000)
* PMUSRAM (0xFF3B0000)
The consequence is, that the binary will get a size of about
4 GB, where the major content is just padding bytes to fill
the gap between the address ranges.
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 the rk3399.
Signed-off-by: Christoph Müllner <christophm30@gmail.com>
Change-Id: I4ac65bdf1e598c3e1a59507897d183aee9a36916
-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 4cb61196..3ac811d6 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 + include lib/libfdt/libfdt.mk PLAT_INCLUDES := -I${RK_PLAT_COMMON}/ \ |