Because CONFIG_POWER_DOMAIN is enabled in defconfig, however driver/power/domain is not built for SPL, there is build failure when power_domain_on added to device_probe. Because power domain is not needed in SPL, let's undef it.
Signed-off-by: Peng Fan <peng....@nxp.com> Cc: "Sébastien Szymanski" <sebastien.szyman...@armadeus.com> Cc: Stefano Babic <sba...@denx.de> --- Need to find a way to avoid SPL build failure in future patch, but in this patchset let's undef CONFIG_POWER_DOMAIN first, because it is not needed. include/configs/opos6uldev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/opos6uldev.h b/include/configs/opos6uldev.h index b634d9eb03..75fefec0ac 100644 --- a/include/configs/opos6uldev.h +++ b/include/configs/opos6uldev.h @@ -15,6 +15,7 @@ #ifdef CONFIG_SPL_BUILD #undef CONFIG_DM_REGULATOR +#undef CONFIG_POWER_DOMAIN #endif #endif -- 2.14.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot