From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 18 Jan 2021 08:00:20 -0500 Subject: [PATCH] power: regulator: Kconfig: add a dependency for POWER_SUPPORT for SPL In-Reply-To: <20201120041054.20083-1-nm@ti.com> References: <20201120041054.20083-1-nm@ti.com> Message-ID: <20210118130020.GL9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 19, 2020 at 10:10:54PM -0600, Nishanth Menon wrote: > power/regulator will not be built if just CONFIG_SPL_DM_REGULATOR is > enabled. It needs CONFIG_SPL_POWER_SUPPORT to be enabled as well. > > For example, if we just need a GPIO regulator in SPL: > CONFIG_DM_REGULATOR=y > CONFIG_SPL_DM_REGULATOR=y > CONFIG_DM_REGULATOR_GPIO=y > CONFIG_SPL_DM_REGULATOR_GPIO=y > > Will not suffice, since the entire regulator build for SPL depends on > CONFIG_SPL_POWER_SUPPORT. Elaborate that information in the Kconfig > dependency. > > Signed-off-by: Nishanth Menon > Reviewed-by: Jaehoon Chung Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: