2020-03-09 03:51:46

by Ooi, Joyce

[permalink] [raw]
Subject: [PATCH] arm64: dts: increase the QSPI reg address for Stratix10 and Agilex

From: Joyce Ooi <[email protected]>

This patch increases the reg addresses for QSPI boot and QSPI rootfs for
Stratix10 and Agilex to cater for the increased size of kernel Image.

Signed-off-by: Joyce Ooi <[email protected]>
---
.../boot/dts/altera/socfpga_stratix10_socdk.dts | 6 +++---
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index fb11ef0..f6c4a15 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -178,12 +178,12 @@

qspi_boot: partition@0 {
label = "Boot and fpga data";
- reg = <0x0 0x034B0000>;
+ reg = <0x0 0x03FE0000>;
};

- qspi_rootfs: partition@4000000 {
+ qspi_rootfs: partition@3FE0000 {
label = "Root Filesystem - JFFS2";
- reg = <0x034B0000 0x0EB50000>;
+ reg = <0x03FE0000 0x0C020000>;
};
};
};
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
index 44d38af..ac6e51b 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
@@ -129,12 +129,12 @@

qspi_boot: partition@0 {
label = "Boot and fpga data";
- reg = <0x0 0x034B0000>;
+ reg = <0x0 0x03FE0000>;
};

- qspi_rootfs: partition@34B0000 {
+ qspi_rootfs: partition@3FE0000 {
label = "Root Filesystem - JFFS2";
- reg = <0x034B0000 0x0EB50000>;
+ reg = <0x03FE0000 0x0C020000>;
};
};
};
--
1.7.1


2020-03-09 16:44:24

by Dinh Nguyen

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: increase the QSPI reg address for Stratix10 and Agilex



On 3/8/20 10:36 PM, Ooi, Joyce wrote:
> From: Joyce Ooi <[email protected]>
>
> This patch increases the reg addresses for QSPI boot and QSPI rootfs for
> Stratix10 and Agilex to cater for the increased size of kernel Image.
>
> Signed-off-by: Joyce Ooi <[email protected]>
> ---
> .../boot/dts/altera/socfpga_stratix10_socdk.dts | 6 +++---
> arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> index fb11ef0..f6c4a15 100644
> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> @@ -178,12 +178,12 @@
>
> qspi_boot: partition@0 {
> label = "Boot and fpga data";
> - reg = <0x0 0x034B0000>;
> + reg = <0x0 0x03FE0000>;
> };
>
> - qspi_rootfs: partition@4000000 {
> + qspi_rootfs: partition@3FE0000 {
> label = "Root Filesystem - JFFS2";
>

Applied, thanks!

Dinh