diff options
author | Adam Ford <aford173@gmail.com> | 2019-08-24 21:50:34 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-26 18:46:29 +0300 |
commit | a074667d52031b1074bc23ca59bf0b73c13ccf7c (patch) | |
tree | 9f30c50aa29e5c4f1a0a25f7b04e3de98ddb09e6 /drivers/serial | |
parent | 055c2a78b70dd714dee588ebd7b335249a670d22 (diff) | |
download | u-boot-a074667d52031b1074bc23ca59bf0b73c13ccf7c.tar.xz |
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>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 8a447fd6e3..ae2d819ba9 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -45,7 +45,7 @@ config SERIAL_PRESENT config SPL_SERIAL_PRESENT bool "Provide a serial driver in SPL" - depends on DM_SERIAL + depends on DM_SERIAL && SPL default y help In very space-constrained devices even the full UART driver is too @@ -55,7 +55,7 @@ config SPL_SERIAL_PRESENT config TPL_SERIAL_PRESENT bool "Provide a serial driver in TPL" - depends on DM_SERIAL + depends on DM_SERIAL && TPL default y help In very space-constrained devices even the full UART driver is too |