summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Braha <julianbraha@gmail.com>2026-07-22 23:06:18 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-08-07 16:01:54 +0200
commit94d32f1ace8ee3ef3537ac6c8e71b76a418a4762 (patch)
treeca3db0e1de7278493702016934d7c418a1c87913
parentb759d5bb6265419344ee9729fd0dc07ad85719d8 (diff)
downloadlinux-next-94d32f1ace8ee3ef3537ac6c8e71b76a418a4762.tar.gz
linux-next-94d32f1ace8ee3ef3537ac6c8e71b76a418a4762.zip
mtd: maps: remove dead select of MTD_CFI_BE_BYTE_SWAP
'select' does not work on config options in a 'choice', so currently it is possible to enable MTD_PHYSMAP_IXP4XX without MTD_CFI_BE_BYTE_SWAP. From a previous conversation, it was decided to remove the select entirely: https://lore.kernel.org/all/c6268184-4904-49d9-b14f-0e11dce8bdad@app.fastmail.com/ This dead select was found by kconfirm, a static analysis tool for Kconfig. Signed-off-by: Julian Braha <julianbraha@gmail.com> Link: $URL [1]" Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
-rw-r--r--drivers/mtd/maps/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index dce5e67ce3c2..f44b098aa2cb 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -101,7 +101,6 @@ config MTD_PHYSMAP_IXP4XX
depends on MTD_PHYSMAP_OF
depends on ARM
select MTD_COMPLEX_MAPPINGS
- select MTD_CFI_BE_BYTE_SWAP if CPU_BIG_ENDIAN
default ARCH_IXP4XX
help
This provides some extra DT physmap parsing for the Intel IXP4xx