diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-13 06:12:31 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-27 16:41:38 +0300 |
commit | d06e4b7e25c2f0ae8337b603ea3a013820495bf0 (patch) | |
tree | 8d675d1e7a37fcbe62c611432511c90a0ca16cdc /board/freescale/common/Makefile | |
parent | be7dbb60c5bfa38ea444fe7de1dca8bd35f83f5b (diff) | |
download | u-boot-d06e4b7e25c2f0ae8337b603ea3a013820495bf0.tar.xz |
Finish CONFIG_VID et al conversion to Kconfig
This converts the following to Kconfig:
CONFIG_VID
CONFIG_VOL_MONITOR_INA220
CONFIG_VOL_MONITOR_IR36021_READ
CONFIG_VOL_MONITOR_IR36021_SET
CONFIG_VOL_MONITOR_LTC3882_READ
CONFIG_VOL_MONITOR_LTC3882_SET
To finish this migration, we first need to introduce CONFIG_SPL_VID as
some platforms only use this code in full U-Boot while others use it in
SPL as well. To make the Kconfig logic clearer, guard all of the
sub-options with a if VID || SPL_VID check. Finally, add Kconfig
options for the remaining related options that did not previously have
one.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/freescale/common/Makefile')
-rw-r--r-- | board/freescale/common/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile index 3a171688c3..0ddfb59d7d 100644 --- a/board/freescale/common/Makefile +++ b/board/freescale/common/Makefile @@ -33,7 +33,7 @@ obj-$(CONFIG_FSL_NGPIXIS) += ngpixis.o endif obj-$(I2C_COMMON) += i2c_common.o obj-$(CONFIG_FSL_USE_PCA9547_MUX) += i2c_mux.o -obj-$(CONFIG_VID) += vid.o +obj-$(CONFIG_$(SPL_)VID) += vid.o obj-$(CONFIG_FSL_QIXIS) += qixis.o obj-$(CONFIG_PQ_MDS_PIB) += pq-mds-pib.o ifndef CONFIG_SPL_BUILD |