[PATCH] [RFC] mtd: fixup CFI on ixp4xx
Arnd Bergmann
arnd at kernel.org
Mon Sep 27 13:30:58 PDT 2021
On Mon, Sep 27, 2021 at 6:33 PM Miquel Raynal <miquel.raynal at bootlin.com> wrote:
>
> Hi Arnd,
>
> arnd at kernel.org wrote on Mon, 27 Sep 2021 16:10:37 +0200:
>
> > From: Arnd Bergmann <arnd at arndb.de>
> >
> > 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 at arndb.de>
> > ---
> > Any other ideas for how to address it?
>
> I am fine with the approach. Should I wait for someone else's Ack?
Maybe wait a few days to see if there are objections or any better
ideas then. I'd certainly be happy to never run into this problem again.
Arnd
More information about the linux-mtd
mailing list