summaryrefslogtreecommitdiff
path: root/board/st/common/stm32mp_dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/common/stm32mp_dfu.c')
-rw-r--r--board/st/common/stm32mp_dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c
index 0096f71dfc1..1cf4a3d5fa1 100644
--- a/board/st/common/stm32mp_dfu.c
+++ b/board/st/common/stm32mp_dfu.c
@@ -123,7 +123,7 @@ void set_dfu_alt_info(char *interface, char *devstr)
board_get_alt_info_mmc(dev, buf);
}
- if (CONFIG_IS_ENABLED(MTD)) {
+ if (IS_ENABLED(CONFIG_MTD)) {
/* probe all MTD devices */
mtd_probe_devices();