From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chin Liang See Date: Tue, 22 Dec 2015 23:40:53 +0800 Subject: [U-Boot] [PATCH 4/6] arm: socfpga: Enable SPL MMC/SPI support only if DM_MMC/SPI is enabled In-Reply-To: <1450580446-6435-4-git-send-email-marex@denx.de> References: <1450580446-6435-1-git-send-email-marex@denx.de> <1450580446-6435-4-git-send-email-marex@denx.de> Message-ID: <1450798853.2038.0.camel@altera.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2015-12-20 at 04:00 +0100, Marek Vasut wrote: > It is not possible to compile MMC/SPI SPL if the respective > DM_MMC/DM_SPI > bits are not enabled. Secure the code with an ifdef to prevent > compiler > splat. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen > Cc: Chin Liang See > --- > Acked-by: Chin Liang See Thanks Chin Liang