summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2019-03-13 21:09:49 +0100
committerMarek Vasut <marex@denx.de>2019-04-09 18:19:10 +0200
commitbdafee778dfc74ff097725c10d810214515e8471 (patch)
tree93536a75e1505c18f476168ddaeead67b6256121 /arch
parent95f4bbd581cfde45d4bd1fa5e56c2d880dae7ced (diff)
downloadu-boot-bdafee778dfc74ff097725c10d810214515e8471.tar.gz
u-boot-bdafee778dfc74ff097725c10d810214515e8471.tar.xz
u-boot-bdafee778dfc74ff097725c10d810214515e8471.zip
ARM: rmobile: Enable multi-DTB fit LZO compression
Enable LZO compression of the multi-DTB fitImages, since the U-Boot with multiple DTs enabled is becoming quite large and the DTs can be well compressed. The LZO compression saves almost 200 kiB on the Salvator-X(S) and ULCB targets. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rmobile/Kconfig.6417
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64
index b2ac1cdad7..e8f16d798b 100644
--- a/arch/arm/mach-rmobile/Kconfig.64
+++ b/arch/arm/mach-rmobile/Kconfig.64
@@ -55,6 +55,9 @@ config TARGET_SALVATOR_X
bool "Salvator-X board"
imply R8A7795
imply R8A7796
+ imply SYS_MALLOC_F
+ imply MULTI_DTB_FIT
+ imply MULTI_DTB_FIT_USER_DEFINED_AREA
help
Support for Renesas R-Car Gen3 platform
@@ -62,6 +65,9 @@ config TARGET_ULCB
bool "ULCB board"
imply R8A7795
imply R8A7796
+ imply SYS_MALLOC_F
+ imply MULTI_DTB_FIT
+ imply MULTI_DTB_FIT_USER_DEFINED_AREA
help
Support for Renesas R-Car Gen3 ULCB platform
@@ -76,4 +82,15 @@ source "board/renesas/ebisu/Kconfig"
source "board/renesas/salvator-x/Kconfig"
source "board/renesas/ulcb/Kconfig"
+config MULTI_DTB_FIT_UNCOMPRESS_SZ
+ default 0x80000 if TARGET_SALVATOR_X
+ default 0x80000 if TARGET_ULCB
+
+config MULTI_DTB_FIT_USER_DEF_ADDR
+ default 0x49000000 if TARGET_SALVATOR_X
+ default 0x49000000 if TARGET_ULCB
+
+config SYS_MALLOC_F_LEN
+ default 0x8000 if RCAR_GEN3
+
endif