[U-Boot] [PATCH 1/4] configs: opos6uldev: undef CONFIG_POWER_DOMAIN when SPL_BUILD

Simon Glass sjg at chromium.org
Wed Jul 25 02:45:36 UTC 2018


Hi Peng,

On 24 July 2018 at 01:45, Peng Fan <peng.fan at 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.fan at nxp.com>
> Cc: "Sébastien Szymanski" <sebastien.szymanski at armadeus.com>
> Cc: Stefano Babic <sbabic at 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


More information about the U-Boot mailing list