summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-07-15 20:21:01 +0300
committerStefan Roese <sr@denx.de>2021-07-19 10:05:30 +0300
commit644b9864700ee5227232a69ed4f180b99559b925 (patch)
tree44da5cf07dde78365b32127595b79d7f945915d8 /arch
parent6e73bb7e403b25d96a15d987dd08a5905737dd96 (diff)
downloadu-boot-644b9864700ee5227232a69ed4f180b99559b925.tar.xz
ARM: dts: armada-385-turris-omnia: add `u-boot-env` NOR partition
Specify a separate partition `u-boot-env` for U-Boot's env settings for the Turris Omnia board. Do this only in U-Boot's specific DTS. We do not want to do this in Linux' official DTS, because Omnia's stock U-Boot stores env at a different address, and there are still boards with stock U-Boot. In a subsequent patch will add board code that fixes Linux's DTB before booting Linux. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
index af0655daaa..3ff76c9462 100644
--- a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
+++ b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
@@ -43,6 +43,17 @@
spi-nor@0 {
u-boot,dm-pre-reloc;
+
+ partitions {
+ partition@0 {
+ reg = <0x0 CONFIG_ENV_OFFSET>;
+ };
+
+ partition@f0000 {
+ reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
+ label = "u-boot-env";
+ };
+ };
};
};