From: Peng Fan Date: Tue, 24 Jul 2018 15:45:04 +0800 Subject: [U-Boot] [PATCH 1/4] configs: opos6uldev: undef CONFIG_POWER_DOMAIN when SPL_BUILD Message-ID: <20180724074507.26949-1-peng.fan@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de 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 Cc: "S=C3=A9bastien Szymanski" Cc: Stefano Babic --- 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 @@ =20 #ifdef CONFIG_SPL_BUILD #undef CONFIG_DM_REGULATOR +#undef CONFIG_POWER_DOMAIN #endif #endif =20 --=20 2.14.1