summaryrefslogtreecommitdiff
path: root/cmd
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 /cmd
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 'cmd')
-rw-r--r--cmd/reiser.c2
-rw-r--r--cmd/zfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/reiser.c b/cmd/reiser.c
index cbdad36..9c3e9e9 100644
--- a/cmd/reiser.c
+++ b/cmd/reiser.c
@@ -18,7 +18,7 @@
#include <reiserfs.h>
#include <part.h>
-#ifndef CONFIG_DOS_PARTITION
+#if !CONFIG_IS_ENABLED(DOS_PARTITION)
#error DOS partition support must be selected
#endif
diff --git a/cmd/zfs.c b/cmd/zfs.c
index 93067a9..8f0c410 100644
--- a/cmd/zfs.c
+++ b/cmd/zfs.c
@@ -24,7 +24,7 @@
#include <usb.h>
#endif
-#if !defined(CONFIG_DOS_PARTITION) && !defined(CONFIG_EFI_PARTITION)
+#if !CONFIG_IS_ENABLED(DOS_PARTITION) && !defined(CONFIG_EFI_PARTITION)
#error DOS or EFI partition support must be selected
#endif