[U-Boot] [PATCH 2/7] disk: Add CONFIG_PARTITION to Kconfig
Andrew F. Davis
afd at ti.com
Thu Dec 8 23:04:28 CET 2016
Signed-off-by: Andrew F. Davis <afd at ti.com>
---
Kconfig | 2 ++
disk/Kconfig | 11 +++++++++++
include/config_defaults.h | 1 -
3 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 disk/Kconfig
diff --git a/Kconfig b/Kconfig
index a44ac91..de1dcb9 100644
--- a/Kconfig
+++ b/Kconfig
@@ -313,6 +313,8 @@ source "common/Kconfig"
source "cmd/Kconfig"
+source "disk/Kconfig"
+
source "dts/Kconfig"
source "net/Kconfig"
diff --git a/disk/Kconfig b/disk/Kconfig
new file mode 100644
index 0000000..7df73fc
--- /dev/null
+++ b/disk/Kconfig
@@ -0,0 +1,11 @@
+menu "Disk Partition Support"
+
+config PARTITIONS
+ bool "Support Disk Partitions"
+ default y
+ help
+ Enable U-Boot's disk partition functions. This provides a means
+ for U-Boot to process disk partition and load images from partitioned
+ drives.
+
+endmenu
diff --git a/include/config_defaults.h b/include/config_defaults.h
index ad08c1d..7ef928b 100644
--- a/include/config_defaults.h
+++ b/include/config_defaults.h
@@ -18,6 +18,5 @@
#define CONFIG_GZIP 1
#define CONFIG_ZLIB 1
-#define CONFIG_PARTITIONS 1
#endif
--
2.10.2
More information about the U-Boot
mailing list