summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2017-01-27 11:00:37 +0100
committerTom Rini <trini@konsulko.com>2017-01-28 08:47:34 -0500
commitb0cf733933c3bc1b4ab353e16affabc60f863db5 (patch)
treea887b94a494489f2c197c1062a6414cda2dae84a /common
parentf18fa31cdcfeecaf56e61224eb18d2f2b6d39d85 (diff)
downloadu-boot-imx-b0cf733933c3bc1b4ab353e16affabc60f863db5.zip
u-boot-imx-b0cf733933c3bc1b4ab353e16affabc60f863db5.tar.gz
u-boot-imx-b0cf733933c3bc1b4ab353e16affabc60f863db5.tar.bz2
disk: convert CONFIG_DOS_PARTITION to Kconfig
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/fb_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fb_mmc.c b/common/fb_mmc.c
index 81a3bd0..6c8dca2 100644
--- a/common/fb_mmc.c
+++ b/common/fb_mmc.c
@@ -133,7 +133,7 @@ void fb_mmc_flash_write(const char *cmd, void *download_buffer,
}
#endif
-#ifdef CONFIG_DOS_PARTITION
+#if CONFIG_IS_ENABLED(DOS_PARTITION)
if (strcmp(cmd, CONFIG_FASTBOOT_MBR_NAME) == 0) {
printf("%s: updating MBR\n", __func__);
if (is_valid_dos_buf(download_buffer)) {