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

Peng Fan peng.fan at nxp.com
Tue Jul 24 07:45:04 UTC 2018


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(+)

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



More information about the U-Boot mailing list