[PATCH dev-5.14 v1] ARM: dts: nuvoton: gbs: Change the name of the partitions

George Hung ghung.quanta at gmail.com
Tue Oct 26 16:49:04 AEDT 2021


Change the name of the partitions for BIOS primary and
secondary SPI EEPROMs

Signed-off-by: George Hung <george.hung at quantatw.com>
---
 arch/arm/boot/dts/nuvoton-npcm730-gbs.dts | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
index f20c2ae4f576..6894b162b050 100644
--- a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
+++ b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
@@ -414,17 +414,17 @@ spi-nor at 0 {
 		spi-max-frequency = <50000000>;
 		spi-rx-bus-width = <2>;
 		m25p,fast-read;
-		label = "pnor";
+		label = "bios";
 		partitions at a0000000 {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
-			pnor-primary at 0 {
-				label = "pnor-primary";
+			bios-primary at 0 {
+				label = "bios-primary";
 				reg = <0x0000000 0x2000000>;
 			};
-			pnor-scratch at 2000000 {
-				label = "pnor-scratch";
+			bios-secondary at 2000000 {
+				label = "bios-secondary";
 				reg = <0x2000000 0x2000000>;
 			};
 		};
@@ -437,17 +437,17 @@ spi-nor at 1 {
 		spi-max-frequency = <50000000>;
 		spi-rx-bus-width = <2>;
 		m25p,fast-read;
-		label = "pnor-2";
+		label = "bios-2";
 		partitions at a0000000 {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
-			pnor-primary at 0 {
-				label = "pnor-2-primary";
+			bios-2-primary at 0 {
+				label = "bios-2-primary";
 				reg = <0x0000000 0x2000000>;
 			};
-			pnor-scratch at 2000000 {
-				label = "pnor-2-scratch";
+			bios-2-secondary at 2000000 {
+				label = "bios-2-secondary";
 				reg = <0x2000000 0x2000000>;
 			};
 		};
-- 
2.32.0



More information about the openbmc mailing list