summaryrefslogtreecommitdiff
path: root/include/configs/stm32mp1.h
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2019-05-07 18:39:22 +0200
committerPatrice Chotard <patrice.chotard@st.com>2019-06-06 17:40:15 +0200
commit80dfdb9c97d85fb2240a2394f34876b90f1d0fbf (patch)
tree9192c83f7ae7192024e10eff9c6e4c97d2e2cc05 /include/configs/stm32mp1.h
parent1538e1a61418ac65a24e9705f61f00e721e4dcce (diff)
configs: stm32mp15: Enable ENV_IS_IN_UBI
Add all relative flags needed by ENV_IS_IN_UBI Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'include/configs/stm32mp1.h')
-rw-r--r--include/configs/stm32mp1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index a91c15098f..dadd96eb60 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -38,6 +38,10 @@
*/
#define CONFIG_SYS_LOAD_ADDR STM32_DDR_BASE
+#if defined(CONFIG_ENV_IS_IN_UBI)
+#define CONFIG_ENV_UBI_VOLUME_REDUND "uboot_config_r"
+#endif
+
/* ATAGs */
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS