summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2020-04-29 17:35:59 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-12 07:34:10 +0200
commit54b54c22cf3d8efa67eca6792f9ac344518d3570 (patch)
tree1a68e879d2ab68cb7cb12e1510b22291302ac908 /arch
parentb507a305683f7b4c7a9a0ba9aab0b114e298e2de (diff)
downloadbarebox-54b54c22cf3d8efa67eca6792f9ac344518d3570.tar.gz
barebox-54b54c22cf3d8efa67eca6792f9ac344518d3570.tar.xz
ARM: dts: vexpress-v2p-ca9: adapt fixed NOR flash partition setup
Upstream DTS commit 62a5017bf825c9e4d317 ("ARM: dts: vexpress: specify AFS partition") [1] introduced an empty node at /smb@4000000 /motherboard/flash@0,00000000/partitions, which is preferred by the OF partitions parser over the single partition nodes. In the same commit, upstream set the compatible to "arm,arm-firmware-suite", which barebox does not know about. Adapt our fixed partition setup accordingly by wrapping all partitions in an extra "partitions" node with the correct compatible. [1]: https://git.kernel.org/linus/62a5017bf825c9e4d3176eb975a01c329a9f36 Fixes: 6940ba22c66ac1c71350 ("dts: update to v5.3-rc1") Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/vexpress-v2p-ca9.dts26
1 files changed, 15 insertions, 11 deletions
diff --git a/arch/arm/dts/vexpress-v2p-ca9.dts b/arch/arm/dts/vexpress-v2p-ca9.dts
index d0975330f2..b13c114f0c 100644
--- a/arch/arm/dts/vexpress-v2p-ca9.dts
+++ b/arch/arm/dts/vexpress-v2p-ca9.dts
@@ -16,19 +16,23 @@
#address-cells = <1>;
#size-cells = <1>;
- partition@0 {
- label = "barebox";
- reg = <0x0 0x80000>;
- };
+ partitions {
+ compatible = "fixed-partitions";
- barebox_env: partition@80000 {
- label = "barebox-environment";
- reg = <0x80000 0x80000>;
- };
+ partition@0 {
+ label = "barebox";
+ reg = <0x0 0x80000>;
+ };
+
+ barebox_env: partition@80000 {
+ label = "barebox-environment";
+ reg = <0x80000 0x80000>;
+ };
- state_storage: partition@100000 {
- label = "barebox-state";
- reg = <0x100000 0x100000>;
+ state_storage: partition@100000 {
+ label = "barebox-state";
+ reg = <0x100000 0x100000>;
+ };
};
};
};