* [PATCH] arm64: dts: Update NAND MTD partition for Agilex and Stratix 10
@ 2021-12-01 10:13 sin.hui.kho
2021-12-01 14:09 ` Dinh Nguyen
0 siblings, 1 reply; 2+ messages in thread
From: sin.hui.kho @ 2021-12-01 10:13 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring
Cc: devicetree, linux-kernel, Yau Wai Gan, Sin Hui Kho
From: Sin Hui Kho <sin.hui.kho@intel.com>
Change NAND flash MTD partition in device tree after implementation of
UBI and UBIFS. "u-boot" partition remain for raw u-boot image, but "root"
partition is use for UBI image containing all other components.
Signed-off-by: Sin Hui Kho <sin.hui.kho@intel.com>
---
.../dts/altera/socfpga_stratix10_socdk_nand.dts | 24 ++--------------------
.../boot/dts/intel/socfpga_agilex_socdk_nand.dts | 20 ++----------------
2 files changed, 4 insertions(+), 40 deletions(-)
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
index f9b4a39683cf..bbc3db42d6e8 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
@@ -119,28 +119,8 @@
};
partition@200000 {
- label = "env";
- reg = <0x200000 0x40000>;
- };
-
- partition@240000 {
- label = "dtb";
- reg = <0x240000 0x40000>;
- };
-
- partition@280000 {
- label = "kernel";
- reg = <0x280000 0x2000000>;
- };
-
- partition@2280000 {
- label = "misc";
- reg = <0x2280000 0x2000000>;
- };
-
- partition@4280000 {
- label = "rootfs";
- reg = <0x4280000 0x3bd80000>;
+ label = "root";
+ reg = <0x200000 0x3fe00000>;
};
};
};
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
index cc2dcabf34e3..57f83481f551 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
@@ -91,24 +91,8 @@
reg = <0 0x200000>;
};
partition@200000 {
- label = "env";
- reg = <0x200000 0x40000>;
- };
- partition@240000 {
- label = "dtb";
- reg = <0x240000 0x40000>;
- };
- partition@280000 {
- label = "kernel";
- reg = <0x280000 0x2000000>;
- };
- partition@2280000 {
- label = "misc";
- reg = <0x2280000 0x2000000>;
- };
- partition@4280000 {
- label = "rootfs";
- reg = <0x4280000 0x3bd80000>;
+ label = "root";
+ reg = <0x200000 0x3fe00000>;
};
};
};
--
2.13.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: Update NAND MTD partition for Agilex and Stratix 10
2021-12-01 10:13 [PATCH] arm64: dts: Update NAND MTD partition for Agilex and Stratix 10 sin.hui.kho
@ 2021-12-01 14:09 ` Dinh Nguyen
0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2021-12-01 14:09 UTC (permalink / raw)
To: sin.hui.kho, Rob Herring
Cc: devicetree, linux-kernel, Yau Wai Gan, Sin Hui Kho
On 12/1/21 4:13 AM, sin.hui.kho@linux.intel.com wrote:
> From: Sin Hui Kho <sin.hui.kho@intel.com>
>
> Change NAND flash MTD partition in device tree after implementation of
> UBI and UBIFS. "u-boot" partition remain for raw u-boot image, but "root"
> partition is use for UBI image containing all other components.
>
> Signed-off-by: Sin Hui Kho <sin.hui.kho@intel.com>
> ---
> .../dts/altera/socfpga_stratix10_socdk_nand.dts | 24 ++--------------------
> .../boot/dts/intel/socfpga_agilex_socdk_nand.dts | 20 ++----------------
> 2 files changed, 4 insertions(+), 40 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
Applied!
Thanks,
Dinh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-01 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 10:13 [PATCH] arm64: dts: Update NAND MTD partition for Agilex and Stratix 10 sin.hui.kho
2021-12-01 14:09 ` Dinh Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).