All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: juno: Set the right partition type
@ 2019-05-28  8:58 Linus Walleij
  2019-05-28 10:47 ` Sudeep Holla
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2019-05-28  8:58 UTC (permalink / raw)
  To: Sudeep Holla, Lorenzo Pieralisi, linux-arm-kernel; +Cc: Linus Walleij

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(-)

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 {
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: juno: Set the right partition type
  2019-05-28  8:58 [PATCH] arm64: dts: juno: Set the right partition type Linus Walleij
@ 2019-05-28 10:47 ` Sudeep Holla
  0 siblings, 0 replies; 2+ messages in thread
From: Sudeep Holla @ 2019-05-28 10:47 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Lorenzo Pieralisi, linux-arm-kernel, Sudeep Holla

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-28 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28  8:58 [PATCH] arm64: dts: juno: Set the right partition type Linus Walleij
2019-05-28 10:47 ` Sudeep Holla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.