diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:40:17 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:39 +0300 |
commit | 0ab3609061c90ed06f03171622894e54ff10f575 (patch) | |
tree | 4ec8f3d0aa3e047c86e862e7da366e199338945a /board | |
parent | a8673927910c6354477c4a9889dcba718f43b34a (diff) | |
download | u-boot-0ab3609061c90ed06f03171622894e54ff10f575.tar.xz |
Correct SPL uses of MTD
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_MTD defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/st/common/stm32mp_dfu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c index 0096f71dfc..1cf4a3d5fa 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(); |