projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67d958
)
stm32mp1: configs: support MTDPARTS only if needed
author
Patrick Delaunay
<patrick.delaunay@st.com>
Tue, 30 Jul 2019 17:16:27 +0000
(19:16 +0200)
committer
Patrice Chotard
<patrice.chotard@st.com>
Tue, 27 Aug 2019 07:36:56 +0000
(09:36 +0200)
MTD is only use if NAND or NOR driver is activated.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
include/configs/stm32mp1.h
patch
|
blob
|
history
diff --git
a/include/configs/stm32mp1.h
b/include/configs/stm32mp1.h
index 033291efcc1ee2bd406c1a2f9d494d984b20ea70..b2b86602bb4f269d2aa85ce1748109c6101a5753 100644
(file)
--- a/
include/configs/stm32mp1.h
+++ b/
include/configs/stm32mp1.h
@@
-79,7
+79,9
@@
#endif
/* Dynamic MTD partition support */
+#if defined(CONFIG_STM32_QSPI) || defined(CONFIG_NAND_STM32_FMC2)
#define CONFIG_SYS_MTDPARTS_RUNTIME
+#endif
/*****************************************************************************/
#ifdef CONFIG_DISTRO_DEFAULTS