[linux-yocto] [PATCH 3/4] arch/arm/mach-axxia: Added the Redundant Parameters inthe Device Tree
Charlie Paul
cpaul.windriver at gmail.com
Tue May 20 15:36:10 PDT 2014
From: John Jacques <john.jacques at lsi.com>
The partitioning of serial flash is what got changed in the device tree.
It now matches the images U-Boot expects (spl binary, parameters (two copies),
U-Boot environment (two copies), and U-Boot images.
This patch fixed the the difference in the Linux device tree for the
serial flash partitioning. It supports fall back images for the U-Boot
parameter file and U-Boot images, It is a new feature.
This change is required to support that feature.
Signed-off-by: John Jacques <john.jacques at lsi.com>
---
arch/arm/boot/dts/axm5516-amarillo.dts | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/axm5516-amarillo.dts b/arch/arm/boot/dts/axm5516-amarillo.dts
index aabc839..8d4ea09 100644
--- a/arch/arm/boot/dts/axm5516-amarillo.dts
+++ b/arch/arm/boot/dts/axm5516-amarillo.dts
@@ -100,19 +100,27 @@
reg = <0x0 0x40000>;
};
partition at 40000 {
- label = "parameters";
+ label = "parameters0";
reg = <0x40000 0x10000>;
};
+ partition at 50000 {
+ label = "parameters1";
+ reg = <0x50000 0x10000>;
+ };
partition at 60000 {
- label = "env1";
+ label = "env0";
reg = <0x60000 0x10000>;
};
partition at 70000 {
- label = "env2";
+ label = "env1";
reg = <0x70000 0x10000>;
};
partition at 100000 {
- label = "u-boot";
+ label = "u-boot0";
+ reg = <0x100000 0x200000>;
+ };
+ partition at 300000 {
+ label = "u-boot1";
reg = <0x100000 0x200000>;
};
};
--
1.7.9.5
More information about the linux-yocto
mailing list