[RFC 1/1] disk: PARTITIONS should depend on HAVE_BLOCK_DEVICE
Heinrich Schuchardt
xypron.glpk at gmx.de
Mon Jan 25 23:18:04 CET 2021
On 1/25/21 10:02 PM, Tom Rini wrote:
> On Mon, Jan 25, 2021 at 05:28:39PM +0100, Heinrich Schuchardt wrote:
>
>> Partitions are only relevant for block devices.
>>
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>> ---
>> I still need to check if the part command is needed on boards
>> w/o DISTRO_DEFAULTS.
>> ---
>> cmd/Kconfig | 4 ++--
>> disk/Kconfig | 1 +
>> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> So, https://gist.github.com/trini/806edc6d37b0e53931a3b8195cbf9da2 shows
> all of the boards that had been building with this now invalid
> combination and are discarding a bunch of code. The next step is to
> look at these and see which of them likely have a use case not been
> described by these Kconfig choices.
>
With the patch for boards not using distro_defaults the following
configuration items are dropped:
CONFIG_CMD_PART=y
CONFIG_PARTITION_UUIDS=y
I will try to minimize the configuration changes produced by the next
version of the patch.
Best regards
Heinrich
More information about the U-Boot
mailing list