hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT
authorTom Rini <trini@ti.com>
Mon, 2 Apr 2012 06:33:43 +0000 (06:33 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 16 Apr 2012 12:47:58 +0000 (14:47 +0200)
With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for
CONFIG_SPL_NAND_SUPPORT to link.

Signed-off-by: Tom Rini <trini@ti.com>
include/configs/hawkboard.h

index 50a1c171b66e2289546ae47b25baba533b57eeb7..085937138798c2f9c132b3c2f0d0b0e5b1aa70f6 100644 (file)
@@ -62,6 +62,7 @@
 #define CONFIG_SPL_NAND_SUPPORT
 #define CONFIG_SPL_NAND_SIMPLE
 #define CONFIG_SPL_NAND_LOAD
+#define CONFIG_SPL_LIBGENERIC_SUPPORT  /* for udelay and __div64_32 for NAND */
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_LDSCRIPT            "board/$(BOARDDIR)/u-boot-spl-hawk.lds"
 #define CONFIG_SPL_TEXT_BASE           0xc1080000