mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: i.MX8M: select ARM_USE_COMPRESSED_DTB for all boards
@ 2022-07-04  9:24 Ahmad Fatoum
  2022-07-04  9:24 ` [PATCH 2/2] ARM: i.MX8M: use compressed DTBs Ahmad Fatoum
  2022-07-05  3:56 ` [PATCH 1/2] ARM: i.MX8M: select ARM_USE_COMPRESSED_DTB for all boards Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2022-07-04  9:24 UTC (permalink / raw)
  To: barebox; +Cc: lst, Ahmad Fatoum

With DDR firmware, ARM trusted firmware and possibly OP-TEE, we are
already quite short on SRAM, so it makes sense to always use compressed
device trees on the i.MX8M to shift some of the size from PBL into
barebox proper. Select ARM_USE_COMPRESSED_DTB for the i.MX8M boards.

Follow-up commit will touch all i.MX8M boards we have in tree that do
not yet make use of this.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/arm/mach-imx/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index c9f03f8aaddd..83ea0059ca35 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -183,6 +183,7 @@ config ARCH_IMX8M
 	select HW_HAS_PCI
 	select IMX8M_DRAM
 	select PBL_VERIFY_PIGGY if HABV4
+	select ARM_USE_COMPRESSED_DTB
 
 config ARCH_IMX8MM
 	select ARCH_IMX8M
@@ -514,7 +515,6 @@ config MACH_ZII_IMX8MQ_DEV
 	select ARM_SMCCC
 	select MCI_IMX_ESDHC_PBL
 	select MACH_ZII_COMMON
-	select ARM_USE_COMPRESSED_DTB
 
 config MACH_ZII_VF610_DEV
 	bool "ZII VF610 Dev Family"
@@ -574,7 +574,6 @@ config MACH_NXP_IMX8MN_EVK
 	select MCI_IMX_ESDHC_PBL
 	select IMX8M_DRAM
 	select I2C_IMX_EARLY
-	select ARM_USE_COMPRESSED_DTB
 
 config MACH_NXP_IMX8MP_EVK
 	bool "NXP i.MX8MP EVK Board"
-- 
2.30.2




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-05  3:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04  9:24 [PATCH 1/2] ARM: i.MX8M: select ARM_USE_COMPRESSED_DTB for all boards Ahmad Fatoum
2022-07-04  9:24 ` [PATCH 2/2] ARM: i.MX8M: use compressed DTBs Ahmad Fatoum
2022-07-05  3:56 ` [PATCH 1/2] ARM: i.MX8M: select ARM_USE_COMPRESSED_DTB for all boards Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox