[PATCH v2 18/19] boot: Join FDT_FIXUP_PARTITIONS with related options
Tom Rini
trini at konsulko.com
Thu Aug 31 16:00:48 CEST 2023
On Wed, Aug 30, 2023 at 09:53:12PM -0600, Simon Glass wrote:
> Move this to be with the other devicetree-fixup options.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> boot/Kconfig | 8 ++++++++
> lib/Kconfig | 9 ---------
> 2 files changed, 8 insertions(+), 9 deletions(-)
>
> diff --git a/boot/Kconfig b/boot/Kconfig
> index a7dea0a0623b..023446130282 100644
> --- a/boot/Kconfig
> +++ b/boot/Kconfig
> @@ -1476,6 +1476,14 @@ config OF_STDOUT_VIA_ALIAS
> incorrect when used with device tree as this option does not
> exist / should not be used.
>
> +config FDT_FIXUP_PARTITIONS
> + bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
> + depends on CMD_MTDPARTS
> + help
> + Allow overwriting defined partitions in the device tree blob
> + using partition info defined in the 'mtdparts' environment
> + variable.
> +
> config FDT_SIMPLEFB
> bool "FDT tools for simplefb support"
> help
> diff --git a/lib/Kconfig b/lib/Kconfig
> index bfab2f3165a7..eb2b10161824 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -953,15 +953,6 @@ config VPL_OF_LIBFDT_ASSUME_MASK
> 0xff means all assumptions are made and any invalid data may cause
> unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h
>
> -config FDT_FIXUP_PARTITIONS
> - bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
> - depends on OF_LIBFDT
> - depends on CMD_MTDPARTS
> - help
> - Allow overwriting defined partitions in the device tree blob
> - using partition info defined in the 'mtdparts' environment
> - variable.
> -
> menu "System tables"
> depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER)
Please follow-up and drop the extraneous dependency on CMD_MTDPARTS,
thanks.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230831/ad3f14da/attachment.sig>
More information about the U-Boot
mailing list