[PATCH] [RESEND] mtd: only use __xipram annotation when XIP_KERNEL is set

Arnd Bergmann arnd at arndb.de
Fri Aug 4 02:00:05 PDT 2017


On Fri, Aug 4, 2017 at 9:35 AM, Boris Brezillon
<boris.brezillon at free-electrons.com> wrote:
> On Fri, 21 Jul 2017 22:26:25 +0200
> Arnd Bergmann <arnd at arndb.de> wrote:

>> Note that MTD_XIP has been broken on ARM since around 2011 or 2012. I
>> have sent another patch[2] to fix compilation, which I plan to merge
>> through arm-soc unless there are objections. The obvious alternative
>> to that would be to completely rip out the MTD_XIP support from the
>> kernel, since obviously nobody has been using it in a long while.
>>
>> Link: [1] https://patchwork.kernel.org/patch/8109771/
>> Link: [2] https://patchwork.kernel.org/patch/9855225/
>> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
>> ---
>>  include/asm-generic/vmlinux.lds.h |  1 +
>>  include/linux/mtd/xip.h           | 10 ++++++----
>
> For the MTD part,
>
> Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Thanks. If you don't mind, could you just apply the patch to the mtd tree?

      Arnd



More information about the linux-mtd mailing list