]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/asm-offsets.c
libfdt: fix error code of fdt_count_strings()
[karo-tx-uboot.git] / lib / asm-offsets.c
index 129bc3e2aff7eb18d80a4a10afe9cb5688f33384..221ebbf1771e06a9ae0b8f8e312b095e12348ffa 100644 (file)
@@ -32,15 +32,11 @@ int main(void)
        DEFINE(GD_MALLOC_BASE, offsetof(struct global_data, malloc_base));
 #endif
 
-#if defined(CONFIG_ARM)
-
        DEFINE(GD_RELOCADDR, offsetof(struct global_data, relocaddr));
 
        DEFINE(GD_RELOC_OFF, offsetof(struct global_data, reloc_off));
 
        DEFINE(GD_START_ADDR_SP, offsetof(struct global_data, start_addr_sp));
 
-#endif
-
        return 0;
 }