]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/spl.h
arm: spl: Avoid setting up a duplicate global data structure
[karo-tx-uboot.git] / arch / arm / include / asm / spl.h
index 17b6f544da79e024a6fb25e9c1405bac420663f4..6db405d7d92c25f5435c85244ef9f5e601190927 100644 (file)
@@ -37,6 +37,8 @@ void spl_board_load_image(void);
 /* Linker symbols. */
 extern char __bss_start[], __bss_end[];
 
+#ifndef CONFIG_DM
 extern gd_t gdata;
+#endif
 
 #endif