]> git.baikalelectronics.ru Git - uboot.git/commit
power: pmic: Guard non-DM_PMIC drivers with a check for POWER_LEGACY
authorTom Rini <trini@konsulko.com>
Sat, 19 Nov 2022 23:45:08 +0000 (18:45 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:06:43 +0000 (16:06 -0500)
commitf25ac1ed23d28cb5a8cf6ef753b4e20fa1e7bb8e
tree5663d15996f17fa1dad78e16902d9eba8ed1970c
parent833595d6165367d4b6d5c6b6cd8c29311206d98b
power: pmic: Guard non-DM_PMIC drivers with a check for POWER_LEGACY

As we have more legacy PMIC drivers to move to Kconfig, guard them all
with POWER_LEGACY or SPL_POWER_LEGACY. Do the same kind of check for
building the drivers too. This also means that we need to resort the
list slightly in the Makefile.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/pmic/Kconfig
drivers/power/pmic/Makefile