diff mbox series

arm64: dts: juno: Set the right partition type

Message ID 20190528085813.10413-1-linus.walleij@linaro.org (mailing list archive)
State Mainlined
Commit 7f8e78ca90e257e5fc8c1f34be309637fab688cd
Headers show
Series arm64: dts: juno: Set the right partition type | expand

Commit Message

Linus Walleij May 28, 2019, 8:58 a.m. UTC
We do not normally access the flash on the Juno, as this
will disturb other aspects of the system, but if we choose
to do so anyways, we should set up the partitions in the
right way so we will find out what is in the flash.

The ARM Firmware Suite now has its own compatible and
proper device tree bindings to trigger discovery of the
flash contents, and Linux supports handling the new type
of AFS partitions.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Sudeep Holla May 28, 2019, 10:47 a.m. UTC | #1
On Tue, May 28, 2019 at 10:58:13AM +0200, Linus Walleij wrote:
> We do not normally access the flash on the Juno, as this
> will disturb other aspects of the system, but if we choose
> to do so anyways, we should set up the partitions in the
> right way so we will find out what is in the flash.
>
> The ARM Firmware Suite now has its own compatible and
> proper device tree bindings to trigger discovery of the
> flash contents, and Linux supports handling the new type
> of AFS partitions.
>

Applied, thanks.

--
Regards,
Sudeep
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
index 1792b074e9a3..9f60dacb4f80 100644
--- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
@@ -106,7 +106,6 @@ 
 			flash@0,00000000 {
 				/* 2 * 32MiB NOR Flash memory mounted on CS0 */
 				compatible = "arm,vexpress-flash", "cfi-flash";
-				linux,part-probe = "afs";
 				reg = <0 0x00000000 0x04000000>;
 				bank-width = <4>;
 				/*
@@ -116,6 +115,9 @@ 
 				 * flash hardware access is disabled by default.
 				 */
 				status = "disabled";
+				partitions {
+					compatible = "arm,arm-firmware-suite";
+				};
 			};
 
 			ethernet@2,00000000 {