aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2023-09-14 10:55:57 -0600
committerTom Rini2023-09-19 11:36:26 -0400
commit040a604880c6eb86779ef564c055deb7b1bcb828 (patch)
tree09aa0ec2172f857bfdf8b9c3efd1df16cdd04085
parent4483184127f8ac36869d014ebe116d4822b30ca7 (diff)
boot: Join FDT_FIXUP_PARTITIONS with related options
Move this to be with the other devicetree-fixup options. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--boot/Kconfig8
-rw-r--r--lib/Kconfig9
2 files changed, 8 insertions, 9 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 2dd05e2e166..a1592a74e62 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -1475,6 +1475,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 bfab2f3165a..eb2b1016182 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)