u-boot/fix_beagle_spl_build.patch

18 lines
621 B
Diff

diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index f25a940..a28453c 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -311,6 +311,12 @@
#define CONFIG_SYS_NAND_ECCBYTES 3
#define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_HAM1_CODE_HW
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
+
+/* SPL: EXT SUPPORT needs to disable CONFIG_SPL_FAT_SUPPORT otherwise spl is too big for .sram */
+#ifdef CONFIG_SPL_EXT_SUPPORT
+#undef CONFIG_SPL_FAT_SUPPORT
+#endif
+
/* NAND: SPL falcon mode configs */
#ifdef CONFIG_SPL_OS_BOOT
#define CONFIG_CMD_SPL_NAND_OFS 0x240000