[U-Boot] [PATCH 6/7] disk: Convert CONFIG_AMIGA_PARTITION to Kconfig

Andrew F. Davis
2016-12-08T22:04:32Z

include/configs/sandbox.h | 1 -
5 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 3cc72fe..0c35f6a 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -54,6 +54,7 @@ CONFIG_CMD_EXT4_WRITE=y
CONFIG_MAC_PARTITION=y
CONFIG_DOS_PARTITION=y
CONFIG_ISO_PARTITION=y
+CONFIG_AMIGA_PARTITION=y
CONFIG_OF_CONTROL=y
CONFIG_OF_HOSTFILE=y
CONFIG_NETCONSOLE=y
diff --git a/configs/sandbox_noblk_defconfig b/configs/sandbox_noblk_defconfig
index 06d0f59..4635abc 100644
--- a/configs/sandbox_noblk_defconfig
+++ b/configs/sandbox_noblk_defconfig
@@ -59,6 +59,7 @@ CONFIG_CMD_FS_GENERIC=y
CONFIG_MAC_PARTITION=y
CONFIG_DOS_PARTITION=y
CONFIG_ISO_PARTITION=y
+CONFIG_AMIGA_PARTITION=y
CONFIG_OF_CONTROL=y
CONFIG_OF_HOSTFILE=y
CONFIG_NETCONSOLE=y
diff --git a/configs/sandbox_spl_defconfig b/configs/sandbox_spl_defconfig
index 42080dd..ec92bba 100644
--- a/configs/sandbox_spl_defconfig
+++ b/configs/sandbox_spl_defconfig
@@ -61,6 +61,7 @@ CONFIG_CMD_EXT4_WRITE=y
CONFIG_MAC_PARTITION=y
CONFIG_DOS_PARTITION=y
CONFIG_ISO_PARTITION=y
+CONFIG_AMIGA_PARTITION=y
CONFIG_OF_CONTROL=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_OF_HOSTFILE=y
diff --git a/disk/Kconfig b/disk/Kconfig
index b25b6ad..fafd5ef 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -32,4 +32,12 @@ config ISO_PARTITION
for U-Boot to process ISO disk partition and load images from
ISO partitioned drives.

+config AMIGA_PARTITION
+ bool "Support AMIGA Partitions"
+ depends on PARTITIONS
+ help
+ Enable support for AMIGA disk partitions. This provides a means
+ for U-Boot to process AMIGA disk partition and load images from
+ AMIGA partitioned drives.
+
endmenu
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 09502b2..30b2ff1 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -49,7 +49,6 @@

#define CONFIG_CMD_GPT
#define CONFIG_PARTITION_UUIDS
-#define CONFIG_AMIGA_PARTITION
#define CONFIG_EFI_PARTITION

/*
--
2.10.2