* [PATCH] ARM: enable CONFIG_USE_COMPRESSED_DTB by default
@ 2025-01-08 14:45 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2025-01-08 14:45 UTC (permalink / raw)
To: Barebox List
Boards have to select ARM_USE_COMPRESSED_DTB in order to use compressed
dtb files. This is easily forgotten because some other enabled board
likely has it selected already and breakage only occurs when all other
boards are disabled. Avoid this breakage by enabling compressed dtbs by
default.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/Kconfig | 7 +------
arch/arm/mach-at91/Kconfig | 1 -
arch/arm/mach-bcm283x/Kconfig | 1 -
arch/arm/mach-imx/Kconfig | 20 --------------------
arch/arm/mach-omap/Kconfig | 1 -
arch/arm/mach-socfpga/Kconfig | 1 -
arch/arm/mach-zynq/Kconfig | 1 -
arch/arm/mach-zynqmp/Kconfig | 1 -
8 files changed, 1 insertion(+), 32 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 516cc721a5..f2c0f44e74 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -13,6 +13,7 @@ config ARM
select HAVE_PBL_MULTI_IMAGES
select RELOCATABLE
select PBL_RELOCATABLE
+ select USE_COMPRESSED_DTB
default y
config ARM32
@@ -30,10 +31,6 @@ config ARM_LINUX
default y
depends on CMD_BOOTZ || CMD_BOOTU || BOOTM
-config ARM_USE_COMPRESSED_DTB
- bool
- select USE_COMPRESSED_DTB
-
menu "System Type"
config ARCH_STM32
@@ -176,7 +173,6 @@ config ARCH_LAYERSCAPE
select COMMON_CLK
select COMMON_CLK_OF_PROVIDER
select HW_HAS_PCI
- select ARM_USE_COMPRESSED_DTB
select OF_DMA_COHERENCY
config ARCH_OMAP_MULTI
@@ -210,7 +206,6 @@ config ARCH_STM32MP
select ARCH_HAS_RESET_CONTROLLER
select ARM_AMBA
select ARM_SMCCC
- select ARM_USE_COMPRESSED_DTB
config ARCH_VERSATILE
bool "ARM Versatile boards (ARM926EJ-S)"
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index afcea257c3..69a17496d5 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -556,7 +556,6 @@ endif
config AT91_MULTI_BOARDS
bool "Allow multiple boards to be selected"
- select ARM_USE_COMPRESSED_DTB
if AT91_MULTI_BOARDS
diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
index defccf8362..ca9061572b 100644
--- a/arch/arm/mach-bcm283x/Kconfig
+++ b/arch/arm/mach-bcm283x/Kconfig
@@ -4,7 +4,6 @@ if ARCH_BCM283X
config MACH_RPI_COMMON
bool
- select ARM_USE_COMPRESSED_DTB
config MACH_RPI_AARCH_32_64
select MACH_RPI_COMMON
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index d1f8dc795b..223c53f4ed 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -159,7 +159,6 @@ config ARCH_IMX8M
select HW_HAS_PCI
select IMX8M_DRAM
select PBL_VERIFY_PIGGY if HABV4
- select ARM_USE_COMPRESSED_DTB
select SOC_BUS
imply FSL_CAAM_RNG_PBL_INIT if HAVE_OPTEE
@@ -189,7 +188,6 @@ config ARCH_IMX93
select CPU_V8
select PINCTRL_IMX_IOMUX_V3
select COMMON_CLK_OF_PROVIDER
- select ARM_USE_COMPRESSED_DTB
select ARCH_HAS_FEC_IMX
config ARCH_VF610
@@ -337,14 +335,12 @@ config MACH_ZII_RDU1
select MACH_FREESCALE_MX51_PDK_POWER
select CRC8
select MACH_ZII_COMMON
- select ARM_USE_COMPRESSED_DTB
comment "i.MX6 boards"
config MACH_ADVANTECH_ROM_742X
bool "Advantech ROM 742X"
select ARCH_IMX6
- select ARM_USE_COMPRESSED_DTB
config MACH_NITROGEN6
bool "BoundaryDevices Nitrogen6 boards"
@@ -367,7 +363,6 @@ config MACH_DIGI_CCIMX6ULSBCPRO
bool "Digi Internal CC-IMX6UL SBC Pro"
select ARCH_IMX6
select ARCH_IMX6UL
- select ARM_USE_COMPRESSED_DTB
config MACH_ELTEC_HIPERCAM
bool "ELTEC HiPerCam"
@@ -382,7 +377,6 @@ config MACH_EMBEDSKY_E9
config MACH_EMBEST_MARSBOARD
bool "Embest MarSboard"
select ARCH_IMX6
- select ARM_USE_COMPRESSED_DTB
config MACH_EMBEST_RIOTBOARD
bool "Embest RIoTboard"
@@ -440,7 +434,6 @@ config MACH_KONTRON_SAMX6I
config MACH_NOVENA
bool "Kosagi Novena board"
select ARCH_IMX6
- select ARM_USE_COMPRESSED_DTB
select DDR_SPD
select I2C_IMX_EARLY
select MCI_IMX_ESDHC_PBL
@@ -461,13 +454,11 @@ config MACH_PROTONIC_IMX6
bool "Protonic-Holland i.MX6 based boards"
select ARCH_IMX6
select ARCH_IMX6UL
- select ARM_USE_COMPRESSED_DTB
select IMX_OCOTP
config MACH_SKOV_IMX6
bool "Skov IMX6"
select ARCH_IMX6
- select ARM_USE_COMPRESSED_DTB
select MCI_IMX_ESDHC_PBL
select DSA
select DRIVER_NET_KSZ8873
@@ -480,12 +471,10 @@ config MACH_TECHNEXION_PICO_HOBBIT
bool "Technexion Pico Hobbit"
select ARCH_IMX6
select ARCH_IMX6UL
- select ARM_USE_COMPRESSED_DTB
config MACH_TECHNEXION_WANDBOARD
bool "Technexion Wandboard"
select ARCH_IMX6
- select ARM_USE_COMPRESSED_DTB
select MCI_IMX_ESDHC_PBL
config MACH_TQMA6X
@@ -495,7 +484,6 @@ config MACH_TQMA6X
config MACH_TQMA6UL
bool "TQ tqma6ul on mba6ulx"
select ARCH_IMX6UL
- select ARM_USE_COMPRESSED_DTB
select BOARD_TQ
select I2C_IMX_EARLY
@@ -508,7 +496,6 @@ config MACH_VARISCITE_MX6
config MACH_WEBASTO_CCBV2
bool "Webasto Common Communication Board V2"
select ARCH_IMX6UL
- select ARM_USE_COMPRESSED_DTB
config MACH_GK802
bool "Zealz GK802 Mini PC"
@@ -519,20 +506,17 @@ config MACH_ZII_RDU2
select ARCH_IMX6
select MCI_IMX_ESDHC_PBL
select MACH_ZII_COMMON
- select ARM_USE_COMPRESSED_DTB
comment "i.MX7 boards"
config MACH_MEERKAT96
bool "96Boards: i.MX7 Meerkat96"
select ARCH_IMX7
- select ARM_USE_COMPRESSED_DTB
config MACH_AC_SXB
bool "Atlas Copco: SXB board"
select ARCH_IMX7
select MCI_IMX_ESDHC_PBL
- select ARM_USE_COMPRESSED_DTB
config MACH_WARP7
bool "NXP i.MX7: element 14 WaRP7 Board"
@@ -557,7 +541,6 @@ config MACH_PHYTEC_PHYCORE_IMX7
config MACH_VARISCITE_SOM_MX7
bool "Variscite VAR-SOM-MX7"
select ARCH_IMX7
- select ARM_USE_COMPRESSED_DTB
help
Support for boards that use a Variscite SOM-MX7, like:
- Gossen Metrawatt e143_01
@@ -565,12 +548,10 @@ config MACH_VARISCITE_SOM_MX7
config MACH_ZII_IMX7D_DEV
bool "ZII i.MX7D based devices"
select ARCH_IMX7
- select ARM_USE_COMPRESSED_DTB
config MACH_KAMSTRUP_MX7_CONCENTRATOR
bool "Kamstrup i.MX7 Concentrator"
select ARCH_IMX7
- select ARM_USE_COMPRESSED_DTB
comment "VF610 boards"
@@ -582,7 +563,6 @@ config MACH_ZII_VF610_DEV
bool "ZII VF610 Dev Family"
select ARCH_VF610
select MACH_ZII_COMMON
- select ARM_USE_COMPRESSED_DTB
endif
diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index a451f250fd..6c4e9d748d 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -40,7 +40,6 @@ config ARCH_AM33XX
select CPU_V7
select GENERIC_GPIO
select CLOCKSOURCE_TI_DM
- select ARM_USE_COMPRESSED_DTB
help
Say Y here if you are using Texas Instrument's AM33xx based platform
diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index a4d7177797..4ec376056d 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -18,7 +18,6 @@ config ARCH_SOCFPGA_CYCLONE5
config ARCH_SOCFPGA_ARRIA10
bool
select CPU_V7
- select ARM_USE_COMPRESSED_DTB
select RESET_CONTROLLER
select OFDEVICE
select OFTREE
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
index 27136a65fc..1d6218d407 100644
--- a/arch/arm/mach-zynq/Kconfig
+++ b/arch/arm/mach-zynq/Kconfig
@@ -20,7 +20,6 @@ menu "select Zynq boards to be built"
config MACH_ZEDBOARD
bool "Avnet Zynq-7000 ZedBoard"
- select ARM_USE_COMPRESSED_DTB
select ARCH_ZYNQ7000
endmenu
diff --git a/arch/arm/mach-zynqmp/Kconfig b/arch/arm/mach-zynqmp/Kconfig
index 23d04926e6..3f9ad99d37 100644
--- a/arch/arm/mach-zynqmp/Kconfig
+++ b/arch/arm/mach-zynqmp/Kconfig
@@ -5,7 +5,6 @@ menu "ZynqMP Features"
config MACH_XILINX_ZCU102
bool "Xilinx Zynq UltraScale+ MPSoC ZCU102"
- select ARM_USE_COMPRESSED_DTB
help
Say Y here if you are using the Xilinx Zynq UltraScale+ MPSoC ZCU102
evaluation board.
--
2.39.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-08 14:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-08 14:45 [PATCH] ARM: enable CONFIG_USE_COMPRESSED_DTB by default Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox