Hi Peng, On 24 July 2018 at 01:45, Peng Fan <peng....@nxp.com> wrote: > 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(+)
This should be handled by adding an SPL_POWER_DOMAIN option and converting existing uses to CONFIG_IS_ENABLED(POWER_DOMAIN) Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot