[PATCH] ARM64: juno: add NOR flash to device tree

Linus Walleij linus.walleij at linaro.org
Mon Oct 19 14:58:24 PDT 2015


On Mon, Oct 19, 2015 at 4:40 PM, Ard Biesheuvel
<ard.biesheuvel at linaro.org> wrote:

> I sent some patches around about a year ago that registers UEFI
> runtime MMIO regions with /proc/iomem, which should prevent drivers
> from attaching to the same physical memory regions. With that in
> place, describing it in the DT would not be a problem, and on devices
> with multiple NOR flashes of which only one is used at runtime by
> UEFI, it would allow Linux to still access the other one.

That is very un-kernellike I think, isn't it better that it gets defined as
an MTD partition?

None of it should affect registering the flash in the device tree
however, it is indeed the hardware that is there, it is a device tree.

We could discuss switching MTD and/or AFS off for EFI boots,
but it seems a bit overzealous to me.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list