提交 6a9a34ff 编写于 作者: P Patrick Delaunay 提交者: Patrice Chotard

stm32mp1: configs: support MTDPARTS only if needed

MTD is only use if NAND or NOR driver is activated.
Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
上级 a67d9581
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册