From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 26 Jan 2019 22:52:25 -0500 Subject: [U-Boot] [U-Boot, 2/2] mmc: mtk-sd: fix SPL compilation when GPIO=y and SPL_GPIO=n In-Reply-To: <20190117170601.20676-2-fparent@baylibre.com> References: <20190117170601.20676-2-fparent@baylibre.com> Message-ID: <20190127035225.GT6906@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, Jan 17, 2019 at 06:06:01PM +0100, Fabien Parent wrote: > It is not possible to link the SPL image when CONFIG_GPIO is enabled > but CONFIG_SPL_GPIO is not. Use the IS_ENABLED macro instead to > correctly check whether CONFIG_{SPL_}GPIO is enabled. > > This commit fixes the following errors: > * undefined reference to `dm_gpio_get_value > * undefined reference to `gpio_request_by_name' > > Signed-off-by: Fabien Parent Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: