sunxi/nand: Add support to the SPL for loading u-boot from internal NAND memory
[platform/kernel/u-boot.git] / include / _exports.h
index 5944703..279017e 100644 (file)
@@ -23,7 +23,9 @@
        EXPORT_FUNC(dummy, void, free_hdlr, void)
 #endif
        EXPORT_FUNC(malloc, void *, malloc, size_t)
+#ifndef CONFIG_SYS_MALLOC_SIMPLE
        EXPORT_FUNC(free, void, free, void *)
+#endif
        EXPORT_FUNC(udelay, void, udelay, unsigned long)
        EXPORT_FUNC(get_timer, unsigned long, get_timer, unsigned long)
        EXPORT_FUNC(vprintf, int, vprintf, const char *, va_list)