summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_disk.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2017-01-27 11:00:38 +0100
committerTom Rini <trini@konsulko.com>2017-01-28 08:47:35 -0500
commit1acc0087876229d7ade1b23aaecbccf63de8a615 (patch)
tree8a6687674cc69355383c5e6388ff60321f9ae46f /lib/efi_loader/efi_disk.c
parentb0cf733933c3bc1b4ab353e16affabc60f863db5 (diff)
downloadu-boot-1acc0087876229d7ade1b23aaecbccf63de8a615.tar.gz
disk: convert CONFIG_ISO_PARTITION to Kconfig
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
Diffstat (limited to 'lib/efi_loader/efi_disk.c')
-rw-r--r--lib/efi_loader/efi_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c
index 1e3dca46ba..39e602a868 100644
--- a/lib/efi_loader/efi_disk.c
+++ b/lib/efi_loader/efi_disk.c
@@ -251,7 +251,7 @@ static int efi_disk_create_eltorito(struct blk_desc *desc,
const char *pdevname)
{
int disks = 0;
-#ifdef CONFIG_ISO_PARTITION
+#if CONFIG_IS_ENABLED(ISO_PARTITION)
char devname[32] = { 0 }; /* dp->str is u16[32] long */
disk_partition_t info;
int part = 1;