[U-Boot] [PATCH v2] disk: convert to Kconfig

Tom Rini trini at konsulko.com
Fri Dec 2 14:18:32 CET 2016


On Fri, Dec 02, 2016 at 09:24:54AM +0100, Patrick Delaunay wrote:

> This converts the following to Kconfig:
>            CONFIG_PARTITIONS
>            CONFIG_MAC_PARTITION
>            CONFIG_DOS_PARTITION
>            CONFIG_ISO_PARTITION
>            CONFIG_AMIGA_PARTITION
>            CONFIG_EFI_PARTITION
>            CONFIG_PARTITION_UUIDS
>            CONFIG_PARTITION_TYPE_GUID
[snip]
>  606 files changed, 996 insertions(+), 583 deletions(-)

The insertions to deletions ratio is still high, and I think we can do a
little better.  Some of this is due to platforms that I fix with
https://patchwork.ozlabs.org/patch/700546/ and will have the various
types selected now.  But I think we can still do a little better with
defaults too:

[snip]
> +config ISO_PARTITION
> +	bool "Enable ISO partition table"
> +	depends on PARTITIONS

This should be default y for x86, along with DOS and MAC.

> +config SPL_ISO_PARTITION
> +	bool "Enable ISO partition table for SPL"
> +	depends on SPL && PARTITIONS

Here and elsewhere, SPL_xxx_PARTITION should be default y if
xxx_PARTITION

> +config PARTITION_UUIDS
> +	bool "Enable support of UUID for partition"
> +	help
> +	  Activate the configuration of UUID for partition

I think a lot of these will go away once CMD_GPT and CMD_PART are
converted to Kconfig, but I don't want to chicken-and-egg this nor have
too many things in flight at once, so lets put that off until after this
series.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161202/9793a367/attachment.sig>


More information about the U-Boot mailing list