mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 07:01:39 +00:00
fdt: Allow libfdt in TPL
In some cases (e.g. sandbox with verified boot) it is useful to support libfdt in TPL. Update the Kconfig to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
aa0ffe8eb9
commit
5592a633a0
1 changed files with 10 additions and 0 deletions
10
lib/Kconfig
10
lib/Kconfig
|
@ -353,6 +353,16 @@ config SPL_OF_LIBFDT
|
||||||
particular compatible nodes. The library operates on a flattened
|
particular compatible nodes. The library operates on a flattened
|
||||||
version of the device tree.
|
version of the device tree.
|
||||||
|
|
||||||
|
config TPL_OF_LIBFDT
|
||||||
|
bool "Enable the FDT library for TPL"
|
||||||
|
default y if TPL_OF_CONTROL
|
||||||
|
help
|
||||||
|
This enables the FDT library (libfdt). It provides functions for
|
||||||
|
accessing binary device tree images in memory, such as adding and
|
||||||
|
removing nodes and properties, scanning through the tree and finding
|
||||||
|
particular compatible nodes. The library operates on a flattened
|
||||||
|
version of the device tree.
|
||||||
|
|
||||||
config FDT_FIXUP_PARTITIONS
|
config FDT_FIXUP_PARTITIONS
|
||||||
bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
|
bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
|
||||||
depends on OF_LIBFDT
|
depends on OF_LIBFDT
|
||||||
|
|
Loading…
Add table
Reference in a new issue