From 24a501d710f9f811765462820b99bcc5dde82ff8 Mon Sep 17 00:00:00 2001 From: Vandhiadevan Karunamoorthy Date: Thu, 19 Aug 2021 16:24:40 +0530 Subject: [PATCH] ipq9574: Add compressed dtb support This change enable compressed dtb support for memory optimization. Change-Id: I692b4cbfe339910c9bb67da6bb442ba01b3a177e Signed-off-by: Vandhiadevan Karunamoorthy --- include/configs/ipq9574.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/ipq9574.h b/include/configs/ipq9574.h index 33be0c259c..292264257f 100644 --- a/include/configs/ipq9574.h +++ b/include/configs/ipq9574.h @@ -34,6 +34,11 @@ #define CONFIG_SYS_BOOTM_LEN 0x4000000 +/* Enable DTB compress */ +#define CONFIG_COMPRESSED_DTB_MAX_SIZE 0x40000 +#define CONFIG_COMPRESSED_DTB_BASE CONFIG_SYS_TEXT_BASE -\ + CONFIG_COMPRESSED_DTB_MAX_SIZE + /* * Size of malloc() pool */