mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
Add dependencies for MALLOC_F and OF_LIBFDT
Some features implicitly depended on MALLOC_F and OF_LIBFDT and would fail at link-time if these features were not enabled. Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
fbdbf77ede
commit
327bb3bc1e
2 changed files with 6 additions and 0 deletions
|
@ -100,6 +100,7 @@ config CONS_INDEX
|
||||||
config DM_SERIAL
|
config DM_SERIAL
|
||||||
bool "Enable Driver Model for serial drivers"
|
bool "Enable Driver Model for serial drivers"
|
||||||
depends on DM
|
depends on DM
|
||||||
|
select SYS_MALLOC_F
|
||||||
help
|
help
|
||||||
Enable driver model for serial. This replaces
|
Enable driver model for serial. This replaces
|
||||||
drivers/serial/serial.c with the serial uclass, which
|
drivers/serial/serial.c with the serial uclass, which
|
||||||
|
@ -136,6 +137,7 @@ config SERIAL_SEARCH_ALL
|
||||||
config SPL_DM_SERIAL
|
config SPL_DM_SERIAL
|
||||||
bool "Enable Driver Model for serial drivers in SPL"
|
bool "Enable Driver Model for serial drivers in SPL"
|
||||||
depends on DM_SERIAL && SPL_DM
|
depends on DM_SERIAL && SPL_DM
|
||||||
|
select SYS_SPL_MALLOC_F
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable driver model for serial in SPL. This replaces
|
Enable driver model for serial in SPL. This replaces
|
||||||
|
@ -146,6 +148,7 @@ config SPL_DM_SERIAL
|
||||||
config TPL_DM_SERIAL
|
config TPL_DM_SERIAL
|
||||||
bool "Enable Driver Model for serial drivers in TPL"
|
bool "Enable Driver Model for serial drivers in TPL"
|
||||||
depends on DM_SERIAL && TPL_DM
|
depends on DM_SERIAL && TPL_DM
|
||||||
|
select SYS_TPL_MALLOC_F
|
||||||
default y if TPL && DM_SERIAL
|
default y if TPL && DM_SERIAL
|
||||||
help
|
help
|
||||||
Enable driver model for serial in TPL. This replaces
|
Enable driver model for serial in TPL. This replaces
|
||||||
|
|
|
@ -25,6 +25,7 @@ menu "Device Tree Control"
|
||||||
config OF_CONTROL
|
config OF_CONTROL
|
||||||
bool "Run-time configuration via Device Tree"
|
bool "Run-time configuration via Device Tree"
|
||||||
select DTC
|
select DTC
|
||||||
|
select OF_LIBFDT if !OF_PLATDATA
|
||||||
help
|
help
|
||||||
This feature provides for run-time configuration of U-Boot
|
This feature provides for run-time configuration of U-Boot
|
||||||
via a flattened device tree.
|
via a flattened device tree.
|
||||||
|
@ -42,6 +43,7 @@ config OF_BOARD_FIXUP
|
||||||
config SPL_OF_CONTROL
|
config SPL_OF_CONTROL
|
||||||
bool "Enable run-time configuration via Device Tree in SPL"
|
bool "Enable run-time configuration via Device Tree in SPL"
|
||||||
depends on SPL && OF_CONTROL
|
depends on SPL && OF_CONTROL
|
||||||
|
select SPL_OF_LIBFDT if !SPL_OF_PLATDATA
|
||||||
help
|
help
|
||||||
Some boards use device tree in U-Boot but only have 4KB of SRAM
|
Some boards use device tree in U-Boot but only have 4KB of SRAM
|
||||||
which is not enough to support device tree. Disable this option to
|
which is not enough to support device tree. Disable this option to
|
||||||
|
@ -50,6 +52,7 @@ config SPL_OF_CONTROL
|
||||||
config TPL_OF_CONTROL
|
config TPL_OF_CONTROL
|
||||||
bool "Enable run-time configuration via Device Tree in TPL"
|
bool "Enable run-time configuration via Device Tree in TPL"
|
||||||
depends on TPL && OF_CONTROL
|
depends on TPL && OF_CONTROL
|
||||||
|
select TPL_OF_LIBFDT if !TPL_OF_PLATDATA
|
||||||
help
|
help
|
||||||
Some boards use device tree in U-Boot but only have 4KB of SRAM
|
Some boards use device tree in U-Boot but only have 4KB of SRAM
|
||||||
which is not enough to support device tree. Enable this option to
|
which is not enough to support device tree. Enable this option to
|
||||||
|
|
Loading…
Add table
Reference in a new issue