From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 26 Aug 2017 16:45:53 -0400 Subject: [U-Boot] [U-Boot, 2/2] arch/arm/cpu/arm926ejs/spear/cpu.c: guard do_switch_ecc() with CONFIG_NAND_FSMC In-Reply-To: <20170815205245.21496-2-thomas.petazzoni@free-electrons.com> References: <20170815205245.21496-2-thomas.petazzoni@free-electrons.com> Message-ID: <20170826204553.GF2827@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 Tue, Aug 15, 2017 at 10:52:45PM +0200, Thomas Petazzoni wrote: > do_switch_ecc() calls fsmc_nand_switch_ecc(), which is a direct > function call into drivers/mtd/nand/fsmc_nand.c. However, this > function is not guarded by CONFIG_NAND_FSMC, which results to a build > failure if CONFIG_NAND_FSMC is disabled. > > Signed-off-by: Thomas Petazzoni 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: Digital signature URL: