[PATCH] ARM: dts: nuvoton: Fix flash layout
Anton Kachalov
rnouse at google.com
Mon Feb 8 23:50:50 AEDT 2021
Here is base64 encoded patch:
=== CUT ===
RnJvbSAwMTBhYTg5ODI2ZjUxZjNjMTc2MTY1YjU5YWJmZTcyYmFhZmYxYzhkIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiAiQW50b24gRC4gS2FjaGFsb3YiIDxnbW91c2VAZ29vZ2xlLmNv
bT4KRGF0ZTogU3VuLCA3IEZlYiAyMDIxIDE4OjUxOjQ4ICswMTAwClN1YmplY3Q6IFtQQVRDSF0g
QVJNOiBkdHM6IG51dm90b246IEZpeCBmbGFzaCBsYXlvdXQKIFRoaXMgY2hhbmdlIHNhdGlzZnkg
T3BlbkJNQyByZXF1aXJlbWVudHMgZm9yIGZsYXNoIGxheW91dC4KClNpZ25lZC1vZmYtYnk6IEFu
dG9uIEQuIEthY2hhbG92IDxnbW91c2VAZ29vZ2xlLmNvbT4KLS0tCiBhcmNoL2FybS9ib290L2R0
cy9udXZvdG9uLW5wY203NTAtZXZiLmR0cyB8IDI4ICsrKysrKystLS0tLS0tLS0tLS0tLS0tCiAx
IGZpbGUgY2hhbmdlZCwgOCBpbnNlcnRpb25zKCspLCAyMCBkZWxldGlvbnMoLSkKCmRpZmYgLS1n
aXQgYS9hcmNoL2FybS9ib290L2R0cy9udXZvdG9uLW5wY203NTAtZXZiLmR0cyBiL2FyY2gvYXJt
L2Jvb3QvZHRzL251dm90b24tbnBjbTc1MC1ldmIuZHRzCmluZGV4IGJkMWViNmVlMzgwZi4uNzQx
YzFmZWU4NTUyIDEwMDY0NAotLS0gYS9hcmNoL2FybS9ib290L2R0cy9udXZvdG9uLW5wY203NTAt
ZXZiLmR0cworKysgYi9hcmNoL2FybS9ib290L2R0cy9udXZvdG9uLW5wY203NTAtZXZiLmR0cwpA
QCAtMTgyLDggKzE4Miw4IEBAIGJidWJvb3QyQDgwMDAwIHsKIAkJCQlyZWcgPSA8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weDA+OworCQkJcndmc0AxZTAwMDAwIHsKKwkJCQls
YWJlbCA9ICJyd2ZzIjsKKwkJCQlyZWcgPSA8MHgxZTAwMDAwIDB4MjAwMDAwPjsKIAkJCX07CiAJ
CX07CiAJfTsKLS0gCjIuMzAuMC40NzguZzhhMGQxNzhjMDEtZ29vZwoK
=== /CUT ===
On Sun, 7 Feb 2021 at 18:58, Anton Kachalov <rnouse at google.com> wrote:
>
> This change satisfies OpenBMC requirements for flash layout.
>
> Signed-off-by: Anton D. Kachalov <gmouse at google.com>
> ---
> arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 +++++++----------------
> 1 file changed, 8 insertions(+), 20 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
> index bd1eb6ee380f..741c1fee8552 100644
> --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
> +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
> @@ -182,8 +182,8 @@ bbuboot2 at 80000 {
> reg = <0x0080000 0x80000>;
> read-only;
> };
> - envparam at 100000 {
> - label = "env-param";
> + ubootenv at 100000 {
> + label = "u-boot-env";
> reg = <0x0100000 0x40000>;
> read-only;
> };
> @@ -195,25 +195,13 @@ kernel at 200000 {
> label = "kernel";
> reg = <0x0200000 0x400000>;
> };
> - rootfs at 600000 {
> - label = "rootfs";
> - reg = <0x0600000 0x700000>;
> + rofs at 780000 {
> + label = "rofs";
> + reg = <0x0780000 0x1680000>;
> };
> - spare1 at D00000 {
> - label = "spare1";
> - reg = <0x0D00000 0x200000>;
> - };
> - spare2 at 0F00000 {
> - label = "spare2";
> - reg = <0x0F00000 0x200000>;
> - };
> - spare3 at 1100000 {
> - label = "spare3";
> - reg = <0x1100000 0x200000>;
> - };
> - spare4 at 1300000 {
> - label = "spare4";
> - reg = <0x1300000 0x0>;
> + rwfs at 1e00000 {
> + label = "rwfs";
> + reg = <0x1e00000 0x200000>;
> };
> };
> };
> --
> 2.30.0.478.g8a0d178c01-goog
>
>
More information about the openbmc
mailing list