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

Leif Lindholm leif.lindholm at linaro.org
Mon Oct 19 04:20:33 PDT 2015


On Mon, Oct 19, 2015 at 11:29:32AM +0100, Mark Rutland wrote:
> > Correct, I just mentioned so that if you see/get any boot issue report
> > with NOR flash and CPUIdle enabled, you will have the background instead
> > of investigating the known issue again.
> 
> Also, for non U-Boot systems I was under the impression that the flash
> was effectively owned by EFI (for variable storage), so it doesn't seem
> like a sensible idea to me to poke the flash behind its back in that
> case.
> 
> Given that, I'm not sure that the flash node should be enabled by
> default in the DT.
> 
> Leif?

Well, given that it's a NOR device (or even two), it doesn't
necessarily have to be an all-or-nothing decision.

0x0BFC0000-0x0BFFFFFF ("erase region 1", the last 256KB) is used for
the persistent storage. This is hard wired into the UEFI image.

But the rest of the flash consists of whatever the contents of
images.txt in the magic configuration-via-USB-filesystem says it is.
I'm not convinced that is written to the device in AFS format.

/
    Leif



More information about the linux-arm-kernel mailing list