]> git.baikalelectronics.ru Git - kernel.git/commit
ARM64: juno: disable NOR flash node by default
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Oct 2015 09:39:55 +0000 (10:39 +0100)
committerOlof Johansson <olof@lixom.net>
Sat, 31 Oct 2015 01:31:01 +0000 (01:31 +0000)
commit8d07673fd02aa9c45ee944ebc473b383367a7153
tree7da176991118d3efa63271348d9f73221963fc27
parent564aa17781a631ea1c4cc56855594e3dc8798f35
ARM64: juno: disable NOR flash node by default

After discussing on the mailing list it turns out that
accessing the flash memory from the kernel can disrupt CPU
sleep states and CPU hotplugging, so let's disable this
DT node by default. Setups that want to access the flash
can modify this entry to enable the flash again.

Quoting Sudeep Holla: "the firmware assumes the flash is
always in read mode while Linux leaves NOR flash in
"read id" mode after initialization."

Reported-by: Sudeep Holla <sudeep.holla@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Liviu Dudau <Liviu.Dudau@arm.com>
Cc: Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Leif Lindholm <leif.lindholm@arm.com>
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Fixes: ca3f87c99ade "ARM64: juno: add NOR flash to device tree"
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm64/boot/dts/arm/juno-motherboard.dtsi