Patchwork powerpc/85xx: Reserve a partition of NOR flash for QE ucode firmware

login
register
mail settings
Submitter Xu Jiucheng
Date Feb. 26, 2013, 2:33 a.m.
Message ID <1361846016-9023-1-git-send-email-Jiucheng.Xu@freescale.com>
Download mbox | patch
Permalink /patch/223105/
State Accepted
Commit 1e612bc71b5f54433f5ea8cc0e5af1f4e60f1217
Delegated to: Kumar Gala
Headers show

Comments

Xu Jiucheng - Feb. 26, 2013, 2:33 a.m.
Due to the partition of JFFS2 overlaps with QE ucode firmware, So JFFS2
will break QE ucode. Shrink JFFS2's partition to reserve the space of
QE ucode firmware.

Signed-off-by: Jiucheng Xu <Jiucheng.Xu@freescale.com>
---
 arch/powerpc/boot/dts/p1021rdb-pc.dtsi |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
Kumar Gala - March 12, 2013, 9:14 p.m.
On Feb 25, 2013, at 8:33 PM, Jiucheng Xu wrote:

> Due to the partition of JFFS2 overlaps with QE ucode firmware, So JFFS2
> will break QE ucode. Shrink JFFS2's partition to reserve the space of
> QE ucode firmware.
> 
> Signed-off-by: Jiucheng Xu <Jiucheng.Xu@freescale.com>
> ---
> arch/powerpc/boot/dts/p1021rdb-pc.dtsi |   12 ++++++++++--
> 1 files changed, 10 insertions(+), 2 deletions(-)

applied to next

- k

Patch

diff --git a/arch/powerpc/boot/dts/p1021rdb-pc.dtsi b/arch/powerpc/boot/dts/p1021rdb-pc.dtsi
index c13abfb..d6274c5 100644
--- a/arch/powerpc/boot/dts/p1021rdb-pc.dtsi
+++ b/arch/powerpc/boot/dts/p1021rdb-pc.dtsi
@@ -62,11 +62,19 @@ 
 		};
 
 		partition@400000 {
-			/* 11MB for JFFS2 based Root file System */
-			reg = <0x00400000 0x00b00000>;
+			/* 10.75MB for JFFS2 based Root file System */
+			reg = <0x00400000 0x00ac0000>;
 			label = "NOR JFFS2 Root File System";
 		};
 
+		partition@ec0000 {
+			/* This location must not be altered  */
+			/* 256KB for QE ucode firmware*/
+			reg = <0x00ec0000 0x00040000>;
+			label = "NOR QE microcode firmware";
+			read-only;
+		};
+
 		partition@f00000 {
 			/* This location must not be altered  */
 			/* 512KB for u-boot Bootloader Image */