mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 10:12:14 +02:00
Kconfig: Varios: Fix more SPL, TPL dependencies
Several options are presenting themselves on a various boards where the options are clearly not used. (ie, SPL/TPL options when SPL or TPL are not defined) This patch is not attempting to be a complete list of items, but more like low hanging fruit. In some instances, I wasn't sure of DM was required, so I simply made them SPL or TPL. This patch attempts to reduce some of the menuconfig noise by defining dependencies so they don't appear when not used. Signed-off-by: Adam Ford <aford173@gmail.com>
This commit is contained in:
@@ -435,6 +435,7 @@ config SPL_HASH_SUPPORT
|
|||||||
|
|
||||||
config TPL_HASH_SUPPORT
|
config TPL_HASH_SUPPORT
|
||||||
bool "Support hashing drivers in TPL"
|
bool "Support hashing drivers in TPL"
|
||||||
|
depends on TPL
|
||||||
select SHA1
|
select SHA1
|
||||||
select SHA256
|
select SHA256
|
||||||
help
|
help
|
||||||
|
@@ -48,6 +48,7 @@ config CLK_BOSTON
|
|||||||
|
|
||||||
config SPL_CLK_CCF
|
config SPL_CLK_CCF
|
||||||
bool "SPL Common Clock Framework [CCF] support "
|
bool "SPL Common Clock Framework [CCF] support "
|
||||||
|
depends on SPL
|
||||||
help
|
help
|
||||||
Enable this option if you want to (re-)use the Linux kernel's Common
|
Enable this option if you want to (re-)use the Linux kernel's Common
|
||||||
Clock Framework [CCF] code in U-Boot's SPL.
|
Clock Framework [CCF] code in U-Boot's SPL.
|
||||||
|
@@ -92,7 +92,7 @@ config DM_SEQ_ALIAS
|
|||||||
|
|
||||||
config SPL_DM_SEQ_ALIAS
|
config SPL_DM_SEQ_ALIAS
|
||||||
bool "Support numbered aliases in device tree in SPL"
|
bool "Support numbered aliases in device tree in SPL"
|
||||||
depends on DM
|
depends on SPL_DM
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Most boards will have a '/aliases' node containing the path to
|
Most boards will have a '/aliases' node containing the path to
|
||||||
|
@@ -88,6 +88,7 @@ config CROS_EC
|
|||||||
|
|
||||||
config SPL_CROS_EC
|
config SPL_CROS_EC
|
||||||
bool "Enable Chrome OS EC in SPL"
|
bool "Enable Chrome OS EC in SPL"
|
||||||
|
depends on SPL
|
||||||
help
|
help
|
||||||
Enable access to the Chrome OS EC in SPL. This is a separate
|
Enable access to the Chrome OS EC in SPL. This is a separate
|
||||||
microcontroller typically available on a SPI bus on Chromebooks. It
|
microcontroller typically available on a SPI bus on Chromebooks. It
|
||||||
@@ -97,6 +98,7 @@ config SPL_CROS_EC
|
|||||||
|
|
||||||
config TPL_CROS_EC
|
config TPL_CROS_EC
|
||||||
bool "Enable Chrome OS EC in TPL"
|
bool "Enable Chrome OS EC in TPL"
|
||||||
|
depends on TPL
|
||||||
help
|
help
|
||||||
Enable access to the Chrome OS EC in TPL. This is a separate
|
Enable access to the Chrome OS EC in TPL. This is a separate
|
||||||
microcontroller typically available on a SPI bus on Chromebooks. It
|
microcontroller typically available on a SPI bus on Chromebooks. It
|
||||||
|
@@ -19,7 +19,7 @@ config PHY
|
|||||||
|
|
||||||
config SPL_PHY
|
config SPL_PHY
|
||||||
bool "PHY Core in SPL"
|
bool "PHY Core in SPL"
|
||||||
depends on DM
|
depends on DM && SPL
|
||||||
help
|
help
|
||||||
PHY support in SPL.
|
PHY support in SPL.
|
||||||
|
|
||||||
|
@@ -45,7 +45,7 @@ config SERIAL_PRESENT
|
|||||||
|
|
||||||
config SPL_SERIAL_PRESENT
|
config SPL_SERIAL_PRESENT
|
||||||
bool "Provide a serial driver in SPL"
|
bool "Provide a serial driver in SPL"
|
||||||
depends on DM_SERIAL
|
depends on DM_SERIAL && SPL
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
In very space-constrained devices even the full UART driver is too
|
In very space-constrained devices even the full UART driver is too
|
||||||
@@ -55,7 +55,7 @@ config SPL_SERIAL_PRESENT
|
|||||||
|
|
||||||
config TPL_SERIAL_PRESENT
|
config TPL_SERIAL_PRESENT
|
||||||
bool "Provide a serial driver in TPL"
|
bool "Provide a serial driver in TPL"
|
||||||
depends on DM_SERIAL
|
depends on DM_SERIAL && TPL
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
In very space-constrained devices even the full UART driver is too
|
In very space-constrained devices even the full UART driver is too
|
||||||
|
Reference in New Issue
Block a user