From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: lst@pengutronix.de, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 1/2] ARM: i.MX8M: select ARM_USE_COMPRESSED_DTB for all boards
Date: Mon, 4 Jul 2022 11:24:08 +0200 [thread overview]
Message-ID: <20220704092409.124836-1-a.fatoum@pengutronix.de> (raw)
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
next reply other threads:[~2022-07-04 9:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 9:24 Ahmad Fatoum [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220704092409.124836-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=lst@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox