summaryrefslogtreecommitdiff
path: root/disk/Kconfig
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 /disk/Kconfig
parentf18fa31cdcfeecaf56e61224eb18d2f2b6d39d85 (diff)
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 'disk/Kconfig')
-rw-r--r--disk/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/disk/Kconfig b/disk/Kconfig
index bafd025004..1bb5d849d9 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -32,4 +32,17 @@ config SPL_MAC_PARTITION
depends on SPL && PARTITIONS
default y if MAC_PARTITION
+config DOS_PARTITION
+ bool "Enable MS Dos partition table"
+ depends on PARTITIONS
+ default y if DISTRO_DEFAULTS
+ default y if x86 || SPARC || CMD_FAT || USB_STORAGE
+ help
+ traditional on the Intel architecture, USB sticks, etc.
+
+config SPL_DOS_PARTITION
+ bool "Enable MS Dos partition table for SPL"
+ depends on SPL && PARTITIONS
+ default y if DOS_PARTITION
+
endmenu