public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Patrick Delaunay <patrick.delaunay73@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 1/9] disk: convert CONFIG_PARTITIONS to Kconfig
Date: Fri, 27 Jan 2017 11:00:35 +0100	[thread overview]
Message-ID: <1485511243-736-2-git-send-email-patrick.delaunay73@gmail.com> (raw)
In-Reply-To: <1485511243-736-1-git-send-email-patrick.delaunay73@gmail.com>


Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
---

Changes in v5:
    - split the initial commit for each parameter to check
      that each modification is size neutral
    - add SPL config for PARTITION_UUIDS (deactivated in some SPL)
    - solve issue with CONFIG_LIB_UUID in include/config_fallbacks.h
      => CONFIG_IS_ENABLED need to be used
	 to have size neutral patch
    - recompute all defconfig and check that patches are size neutral

Changes in v4:
    - rebase on v2017.01
    - correct many issue in defconfig update
	  (missing some "is not set")
    - check with buildman that the patch is size neutral

Changes in v3:
    change Kconfig to reduce impact in platform defconfig
    after Tom Rini review
    - default y for all SPL config
    - MAC DOS ISO and EFI enable by default for some platforms
    - DOS enable with command FAT or USB storage

Changes in v2:
    - solve compilation issue for config_fallback.h
      (CONFIG_IS_ENABLED unknown)
    - rebase on master branch
    - default y for DOS partition as proposed by Tom Rini
    - removed not related changes in defconfig files

 Kconfig                      |  2 ++
 disk/Kconfig                 | 22 ++++++++++++++++++++++
 include/config_defaults.h    |  1 -
 scripts/config_whitelist.txt |  1 -
 4 files changed, 24 insertions(+), 2 deletions(-)
 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..966553c
--- /dev/null
+++ b/disk/Kconfig
@@ -0,0 +1,22 @@
+
+menu "Partition Types"
+
+config PARTITIONS
+	bool "Enable Partition Labels (disklabels) support"
+	default y
+	help
+	  Partition Labels (disklabels) Supported:
+	  Zero or more of the following:
+	  - CONFIG_MAC_PARTITION   Apple's MacOS partition table.
+	  - CONFIG_DOS_PARTITION   MS Dos partition table, traditional on the
+	                           Intel architecture, USB sticks, etc.
+	  - CONFIG_ISO_PARTITION   ISO partition table, used on CDROM etc.
+	  - CONFIG_EFI_PARTITION   GPT partition table, common when EFI is the
+	                           bootloader.  Note 2TB partition limit; see
+	                           disk/part_efi.c
+	  - CONFIG_MTD_PARTITIONS  Memory Technology Device partition table.
+	  If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI)
+	  you must configure support for at least one non-MTD partition type
+	  as well.
+
+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
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 00ee3f1..16849f1 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -3333,7 +3333,6 @@ CONFIG_PALMAS_SMPS7_FPWM
 CONFIG_PALMAS_USB_SS_PWR
 CONFIG_PANIC_HANG
 CONFIG_PARAVIRT
-CONFIG_PARTITIONS
 CONFIG_PARTITION_TYPE_GUID
 CONFIG_PARTITION_UUIDS
 CONFIG_PATA_BFIN
-- 
1.9.1

  reply	other threads:[~2017-01-27 10:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-27 10:00 [U-Boot] [PATCH v5 0/9] disk: convert to Kconfig Patrick Delaunay
2017-01-27 10:00 ` Patrick Delaunay [this message]
2017-01-28 18:43   ` [U-Boot] [PATCH v5 1/9] disk: convert CONFIG_PARTITIONS " Tom Rini
2017-01-27 10:00 ` [U-Boot] [PATCH v5 2/9] disk: convert CONFIG_MAC_PARTITION " Patrick Delaunay
2017-01-28 18:43   ` Tom Rini
2017-01-27 10:00 ` [U-Boot] [PATCH v5 3/9] disk: convert CONFIG_DOS_PARTITION " Patrick Delaunay
2017-01-28 18:44   ` Tom Rini
2017-01-27 10:00 ` [U-Boot] [PATCH v5 4/9] disk: convert CONFIG_ISO_PARTITION " Patrick Delaunay
2017-01-28 18:44   ` Tom Rini
2017-01-27 10:00 ` [U-Boot] [PATCH v5 5/9] disk: convert CONFIG_AMIGA_PARTITION " Patrick Delaunay
2017-01-28 18:44   ` Tom Rini
2017-01-27 10:00 ` [U-Boot] [PATCH v5 6/9] kbuild: add include linux/kconfig.h in config.h Patrick Delaunay
2017-01-27 20:36   ` Masahiro Yamada
2017-01-28  0:29     ` Tom Rini
2017-01-28  5:35       ` Masahiro Yamada
2017-01-28 18:44   ` Tom Rini
2017-01-27 10:00 ` [U-Boot] [PATCH v5 7/9] disk: convert CONFIG_EFI_PARTITION to Kconfig Patrick Delaunay
2017-01-28 18:44   ` Tom Rini
2017-01-27 10:00 ` [U-Boot] [PATCH v5 8/9] disk: convert CONFIG_PARTITION_UUIDS " Patrick Delaunay
2017-01-28 13:46   ` [U-Boot] [PATCH v6 8/9] cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT Tom Rini
2017-01-28 18:44     ` Tom Rini
2017-01-27 10:00 ` [U-Boot] [PATCH v5 9/9] disk: convert CONFIG_PARTITION_TYPE_GUID to Kconfig Patrick Delaunay
2017-01-28 18:44   ` Tom Rini
2017-01-27 19:26 ` [U-Boot] [PATCH v5 0/9] disk: convert " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1485511243-736-2-git-send-email-patrick.delaunay73@gmail.com \
    --to=patrick.delaunay73@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox