[PATCH v1 22/24] power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)

Simon Glass sjg at chromium.org
Wed Feb 22 22:20:04 CET 2023


On Tue, 21 Feb 2023 at 18:39, Troy Kisky <troykiskyboundary at gmail.com> wrote:
>
> This avoids an error in converting to CONFIG_IS_ENABLED(DM_PMIC).
> Many boards SPL code needs these definitions to compile, even if
> the functions are not linked.
>
> Signed-off-by: Troy Kisky <troykiskyboundary at gmail.com>
> ---
>
>  include/power/pmic.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

How about adding a migration deadline for non-DM PMIC?


More information about the U-Boot mailing list