aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ls2080ardb.h
diff options
context:
space:
mode:
authorTom Rini2021-12-12 22:12:31 -0500
committerTom Rini2021-12-27 08:41:38 -0500
commitd06e4b7e25c2f0ae8337b603ea3a013820495bf0 (patch)
tree8d675d1e7a37fcbe62c611432511c90a0ca16cdc /include/configs/ls2080ardb.h
parentbe7dbb60c5bfa38ea444fe7de1dca8bd35f83f5b (diff)
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 'include/configs/ls2080ardb.h')
-rw-r--r--include/configs/ls2080ardb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 50d6b03b3cc..96b804b57f4 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -17,13 +17,7 @@
#define I2C_MUX_CH_VOL_MONITOR 0xa
#define I2C_VOL_MONITOR_ADDR 0x38
-#define CONFIG_VOL_MONITOR_IR36021_READ
-#define CONFIG_VOL_MONITOR_IR36021_SET
-#define CONFIG_VID_FLS_ENV "ls2080ardb_vdd_mv"
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_VID
-#endif
/* step the IR regulator in 5mV increments */
#define IR_VDD_STEP_DOWN 5
#define IR_VDD_STEP_UP 5