summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-11-27 08:59:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-27 12:21:16 +0100
commit18e80998aa4c79d27593d43585f7fab66a14985a (patch)
tree99f24eca569cdd5467e2f9fc88b86ad3f67157ed /arch/arm/dts
parentc7ec778bbe2527254c2a05f990bb632c72d94563 (diff)
downloadbarebox-18e80998aa4c79d27593d43585f7fab66a14985a.tar.gz
barebox-18e80998aa4c79d27593d43585f7fab66a14985a.tar.xz
ARM Layerscape: ls1046ardb: Fix SD partitions
barebox and its environment should be in the first MiB of the SD card. With this we won't overwrite any partitions from the partition table. While at it add a barebox partition for a future update handler. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/fsl-ls1046a-rdb.dts9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/dts/fsl-ls1046a-rdb.dts b/arch/arm/dts/fsl-ls1046a-rdb.dts
index 842d684588..9a2794c910 100644
--- a/arch/arm/dts/fsl-ls1046a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1046a-rdb.dts
@@ -23,9 +23,14 @@
#address-cells = <1>;
#size-cells = <1>;
- environment_sd: partition@200000 {
+ partition@1000 {
+ label = "barebox";
+ reg = <0x1000 0xdf000>;
+ };
+
+ environment_sd: partition@e0000 {
label = "barebox-environment";
- reg = <0x200000 0x20000>;
+ reg = <0xe0000 0x20000>;
};
};