]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - lib/asm-offsets.c
net: hifemac_mdio: use log_msg_ret() correctly, report error by dev_err()
[thirdparty/u-boot.git] / lib / asm-offsets.c
index 0808cd4b0c11d887ad4075d039e8a911516bca1a..4e2dbda9a710fbce1f8aeb0d9e2bcb195a2de75e 100644 (file)
@@ -11,9 +11,9 @@
  * #defines from the assembly-language output.
  */
 
-#include <common.h>
 #include <asm-offsets.h>
 #include <asm/global_data.h>
+#include <asm/u-boot.h>
 
 #include <linux/kbuild.h>
 
@@ -32,7 +32,7 @@ int main(void)
 
        DEFINE(GD_FLAGS, offsetof(struct global_data, flags));
 
-#if CONFIG_VAL(SYS_MALLOC_F_LEN)
+#if CONFIG_IS_ENABLED(SYS_MALLOC_F)
        DEFINE(GD_MALLOC_BASE, offsetof(struct global_data, malloc_base));
 #endif