From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudeep.holla@arm.com (Sudeep Holla) Date: Tue, 27 Oct 2015 12:01:29 +0000 Subject: [PATCH] ARM64: juno: add NOR flash to device tree In-Reply-To: References: <1444904415-19597-1-git-send-email-linus.walleij@linaro.org> <561FC681.2040809@arm.com> <5624C31D.3070906@arm.com> <20151019102932.GB10678@leverpostej> <20151019113904.GE10678@leverpostej> <20151020112026.GF10728@bivouac.eciton.net> Message-ID: <562F6799.1060301@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 27/10/15 11:55, Linus Walleij wrote: > On Wed, Oct 21, 2015 at 12:07 PM, Ryan Harkin wrote: > >> FYI, in the latest Juno motherboard firmware [1], I have a file called >> "blank.img" in the NOR flash at address 0x0BFC0000 that represents the UEFI >> (and now u-boot) config area at the end of the NOR flash. >> >> I mostly put this there so that you can "touch blank.img" to erase the >> config, but also to show that the region is reserved to anyone who might >> think about putting something there. > > Then it is safe to enable NOR flash and AFS in the kernel. *No*, not on Juno. If we need to enable them for other platforms, then we should either disable NOR flash in DT(or even remove it completely whichever is appropriate). Since idle is enable in defconfig and if DT has idle states, then it can't boot for the reason I previously mentioned. -- Regards, Sudeep