From: David Wang <tomato1220@gmail.com>
To: arnd@arndb.de, olof@lixom.net, soc@kernel.org,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org
Cc: devicetree@vger.kernel.org, David Wang <davidwang@quantatw.com>,
fran.hsu@quantatw.com, benjaminfair@google.com,
avifishman70@gmail.com, venture@google.com,
openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org,
tali.perry1@gmail.com, linux-arm-kernel@lists.infradead.org,
tmaimon77@gmail.com
Subject: [PATCH 3/7] ARM: dts: nuvoton: gbs: Split SPI flash partition
Date: Fri, 3 Mar 2023 14:34:31 +0800 [thread overview]
Message-ID: <20230303063435.803097-3-davidwang@quantatw.com> (raw)
In-Reply-To: <20230303063435.803097-1-davidwang@quantatw.com>
Split the primary and secondary BIOS SPI EEPROMs in 2 partitions
Signed-off-by: David Wang <davidwang@quantatw.com>
---
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts | 29 ++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
index 9e9eba8bad5e..a33766e430d7 100644
--- a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
+++ b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
@@ -414,7 +414,20 @@ flash@0 {
spi-max-frequency = <50000000>;
spi-rx-bus-width = <2>;
m25p,fast-read;
- label = "pnor";
+ label = "bios";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ bios-primary@0 {
+ label = "bios-primary";
+ reg = <0x0000000 0x2000000>;
+ };
+ bios-secondary@2000000 {
+ label = "bios-secondary";
+ reg = <0x2000000 0x2000000>;
+ };
+ };
};
flash@1 {
compatible = "jedec,spi-nor";
@@ -424,6 +437,20 @@ flash@1 {
spi-max-frequency = <50000000>;
spi-rx-bus-width = <2>;
m25p,fast-read;
+ label = "bios-2";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ bios-2-primary@0 {
+ label = "bios-2-primary";
+ reg = <0x0000000 0x2000000>;
+ };
+ bios-2-secondary@2000000 {
+ label = "bios-2-secondary";
+ reg = <0x2000000 0x2000000>;
+ };
+ };
};
};
--
2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: David Wang <tomato1220@gmail.com>
To: arnd@arndb.de, olof@lixom.net, soc@kernel.org,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org
Cc: avifishman70@gmail.com, tmaimon77@gmail.com,
tali.perry1@gmail.com, venture@google.com, yuenn@google.com,
benjaminfair@google.com, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
openbmc@lists.ozlabs.org, fran.hsu@quantatw.com,
David Wang <davidwang@quantatw.com>
Subject: [PATCH 3/7] ARM: dts: nuvoton: gbs: Split SPI flash partition
Date: Fri, 3 Mar 2023 14:34:31 +0800 [thread overview]
Message-ID: <20230303063435.803097-3-davidwang@quantatw.com> (raw)
In-Reply-To: <20230303063435.803097-1-davidwang@quantatw.com>
Split the primary and secondary BIOS SPI EEPROMs in 2 partitions
Signed-off-by: David Wang <davidwang@quantatw.com>
---
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts | 29 ++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
index 9e9eba8bad5e..a33766e430d7 100644
--- a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
+++ b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
@@ -414,7 +414,20 @@ flash@0 {
spi-max-frequency = <50000000>;
spi-rx-bus-width = <2>;
m25p,fast-read;
- label = "pnor";
+ label = "bios";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ bios-primary@0 {
+ label = "bios-primary";
+ reg = <0x0000000 0x2000000>;
+ };
+ bios-secondary@2000000 {
+ label = "bios-secondary";
+ reg = <0x2000000 0x2000000>;
+ };
+ };
};
flash@1 {
compatible = "jedec,spi-nor";
@@ -424,6 +437,20 @@ flash@1 {
spi-max-frequency = <50000000>;
spi-rx-bus-width = <2>;
m25p,fast-read;
+ label = "bios-2";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ bios-2-primary@0 {
+ label = "bios-2-primary";
+ reg = <0x0000000 0x2000000>;
+ };
+ bios-2-secondary@2000000 {
+ label = "bios-2-secondary";
+ reg = <0x2000000 0x2000000>;
+ };
+ };
};
};
--
2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: David Wang <tomato1220@gmail.com>
To: arnd@arndb.de, olof@lixom.net, soc@kernel.org,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org
Cc: avifishman70@gmail.com, tmaimon77@gmail.com,
tali.perry1@gmail.com, venture@google.com, yuenn@google.com,
benjaminfair@google.com, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
openbmc@lists.ozlabs.org, fran.hsu@quantatw.com,
David Wang <davidwang@quantatw.com>
Subject: [PATCH 3/7] ARM: dts: nuvoton: gbs: Split SPI flash partition
Date: Fri, 3 Mar 2023 14:34:31 +0800 [thread overview]
Message-ID: <20230303063435.803097-3-davidwang@quantatw.com> (raw)
In-Reply-To: <20230303063435.803097-1-davidwang@quantatw.com>
Split the primary and secondary BIOS SPI EEPROMs in 2 partitions
Signed-off-by: David Wang <davidwang@quantatw.com>
---
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts | 29 ++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
index 9e9eba8bad5e..a33766e430d7 100644
--- a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
+++ b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
@@ -414,7 +414,20 @@ flash@0 {
spi-max-frequency = <50000000>;
spi-rx-bus-width = <2>;
m25p,fast-read;
- label = "pnor";
+ label = "bios";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ bios-primary@0 {
+ label = "bios-primary";
+ reg = <0x0000000 0x2000000>;
+ };
+ bios-secondary@2000000 {
+ label = "bios-secondary";
+ reg = <0x2000000 0x2000000>;
+ };
+ };
};
flash@1 {
compatible = "jedec,spi-nor";
@@ -424,6 +437,20 @@ flash@1 {
spi-max-frequency = <50000000>;
spi-rx-bus-width = <2>;
m25p,fast-read;
+ label = "bios-2";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ bios-2-primary@0 {
+ label = "bios-2-primary";
+ reg = <0x0000000 0x2000000>;
+ };
+ bios-2-secondary@2000000 {
+ label = "bios-2-secondary";
+ reg = <0x2000000 0x2000000>;
+ };
+ };
};
};
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-03-05 23:28 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 6:34 [PATCH 1/7] ARM: dts: nuvoton: Add Quanta GIS BMC Device Tree David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` [PATCH 2/7] ARM: dts: nuvoton: Add Quanta GSZ " David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 7:02 ` Krzysztof Kozlowski
2023-03-03 7:02 ` Krzysztof Kozlowski
2023-03-03 23:30 ` kernel test robot
2023-03-03 23:30 ` kernel test robot
2023-03-03 23:30 ` kernel test robot
2023-03-03 6:34 ` David Wang [this message]
2023-03-03 6:34 ` [PATCH 3/7] ARM: dts: nuvoton: gbs: Split SPI flash partition David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` [PATCH 4/7] ARM: dts: nuvoton: gbs: Remove ethernet aliases David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` [PATCH 5/7] ARM: dts: nuvoton: gsj: Correct gpio-pins David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` [PATCH 6/7] ARM: dts: nuvoton: gsj: Add non-mainline nodes David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` David Wang
2023-03-04 4:48 ` kernel test robot
2023-03-04 4:48 ` kernel test robot
2023-03-04 4:48 ` kernel test robot
2023-03-03 6:34 ` [PATCH 7/7] ARM: dts: nuvoton: gsj: Remove ethernet aliases David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 6:34 ` David Wang
2023-03-03 7:02 ` [PATCH 1/7] ARM: dts: nuvoton: Add Quanta GIS BMC Device Tree Krzysztof Kozlowski
2023-03-03 7:02 ` Krzysztof Kozlowski
2023-03-03 17:11 ` kernel test robot
2023-03-03 17:11 ` kernel test robot
2023-03-03 17:11 ` kernel test robot
2023-03-17 15:11 ` Arnd Bergmann
2023-03-17 15:11 ` Arnd Bergmann
2023-03-17 15:11 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230303063435.803097-3-davidwang@quantatw.com \
--to=tomato1220@gmail.com \
--cc=arnd@arndb.de \
--cc=avifishman70@gmail.com \
--cc=benjaminfair@google.com \
--cc=davidwang@quantatw.com \
--cc=devicetree@vger.kernel.org \
--cc=fran.hsu@quantatw.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
--cc=openbmc@lists.ozlabs.org \
--cc=robh+dt@kernel.org \
--cc=soc@kernel.org \
--cc=tali.perry1@gmail.com \
--cc=tmaimon77@gmail.com \
--cc=venture@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.