linux-stable/drivers/mtd/chips
Arnd Bergmann d40f6eeaf5 mtd: fixup CFI on ixp4xx
commit 603362b4a5 upstream.

drivers/mtd/maps/ixp4xx.c requires MTD_CFI_BE_BYTE_SWAP to be set
in order to compile.

drivers/mtd/maps/ixp4xx.c:57:4: error: #error CONFIG_MTD_CFI_BE_BYTE_SWAP required

This patch avoids the #error output by enforcing the policy in
Kconfig. Not sure if this is the right approach, but it helps doing
randconfig builds.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210927141045.1597593-1-arnd@kernel.org
Cc: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-20 09:19:19 +01:00
..
cfi_cmdset_0001.c mtd: cfi: cmdset_0001: Use struct_size() in kmalloc() 2019-01-15 20:49:31 +01:00
cfi_cmdset_0002.c mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards 2021-08-26 08:36:12 -04:00
cfi_cmdset_0020.c
cfi_probe.c
cfi_util.c mtd: cfi_util: mark expected switch fall-throughs 2019-05-06 21:57:04 +02:00
chipreg.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
fwh_lock.h
gen_probe.c mtd: chips: gen_probe: kill useless initializer in mtd_do_chip_probe() 2019-08-27 17:08:18 +05:30
jedec_probe.c
Kconfig mtd: fixup CFI on ixp4xx 2022-01-20 09:19:19 +01:00
Makefile
map_absent.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
map_ram.c
map_rom.c