From: Tom Rini Date: Mon, 25 Apr 2016 10:44:18 -0400 Subject: [U-Boot] [PATCH] omap3_igep00x0.h: Drop SPL MMC support on BOOT_NAND Message-ID: <1461595458-30012-1-git-send-email-trini@konsulko.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In the case of booting from NAND on these boards, remove MMC support from SPL so that we can continue to fit into the safest partitioning of the available SRAM. Reported-by: Heiko Schocher Cc: Enric Balletbo i Serra Signed-off-by: Tom Rini --- include/configs/omap3_igep00x0.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h index 5e33845..3cdee02 100644 --- a/include/configs/omap3_igep00x0.h +++ b/include/configs/omap3_igep00x0.h @@ -20,6 +20,16 @@ #include /* + * Remove non-NAND boot modes. + */ +#ifdef CONFIG_BOOT_NAND +#undef CONFIG_SPL_LIBDISK_SUPPORT +#undef CONFIG_SPL_MMC_SUPPORT +#undef CONFIG_SPL_FAT_SUPPORT +#undef CONFIG_SPL_EXT_SUPPORT +#endif + +/* * Display CPU and Board information */ #define CONFIG_DISPLAY_CPUINFO 1 -- 1.9.1