]> git.dujemihanovic.xyz Git - u-boot.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)
commit518c5dfab0e378891088edce07bde732882b8f1f
tree5663d15996f17fa1dad78e16902d9eba8ed1970c
parent65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8
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