summaryrefslogtreecommitdiff
path: root/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-06-15 12:18:23 +0300
committerPatrice Chotard <patrice.chotard@st.com>2020-07-28 18:21:37 +0300
commit76db1681da52342ca9f4fb7e6787bd83cc82f429 (patch)
treebc8574c558ef332f25b261fc18d006409129730c /arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
parenta9addcafd180abf4c51d02a5954c8d03ba747f26 (diff)
downloadu-boot-76db1681da52342ca9f4fb7e6787bd83cc82f429.tar.xz
stm32mp1: use a specific SD/eMMC partition for U-Boot enviromnent
Save the environment at the end of the U-Boot partition, the GPT partition named "ssbl" in SD card or eMMC and avoid requirements on the "bootfs" file system generated via specific raw tools (like wic and genimage). With the previous configuration of the U-Boot environment saved in ext4 file, U-Boot need to create/modify the file uenv.txt in the ext4 file system; so this EXT4 file system need to be generated without some functionality, like metadata_csum and dir_index, because they are not supported by U-Boot. Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi')
-rw-r--r--arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
index ef3e7f45a3..afb36cbf1a 100644
--- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
@@ -17,6 +17,7 @@
config {
u-boot,boot-led = "heartbeat";
u-boot,error-led = "error";
+ u-boot,mmc-env-partition = "ssbl";
st,fastboot-gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
st,stm32prog-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
};