armv8/ls1043: Add workaround for DDR erratum A-008850
[oweals/u-boot.git] / include / exports.h
index a3e0469d40e8d0e5cf8d51a12ff0a03d2de6b1b0..deef8fbec8cccf0ac0382b496829f05a58fd7b8d 100644 (file)
@@ -19,7 +19,7 @@ int printf(const char* fmt, ...);
 void install_hdlr(int, interrupt_handler_t, void*);
 void free_hdlr(int);
 void *malloc(size_t);
-#ifndef CONFIG_SYS_MALLOC_SIMPLE
+#if !CONFIG_IS_ENABLED(SYS_MALLOC_SIMPLE)
 void free(void*);
 #endif
 void __udelay(unsigned long);