X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=lib%2Fasm-offsets.c;h=221ebbf1771e06a9ae0b8f8e312b095e12348ffa;hp=580f763da67bfcc396bdbe7beb10de0e9939d3bf;hb=332532c7ce93b79621bc5b96df3a790827e5b2fe;hpb=1fc4e6f486cc1e9d2dcf0ba86e6021c3d83dce51 diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c index 580f763da6..221ebbf177 100644 --- a/lib/asm-offsets.c +++ b/lib/asm-offsets.c @@ -31,11 +31,6 @@ int main(void) #ifdef CONFIG_SYS_MALLOC_F_LEN DEFINE(GD_MALLOC_BASE, offsetof(struct global_data, malloc_base)); #endif -#ifdef CONFIG_X86 - DEFINE(GD_BIST, offsetof(struct global_data, arch.bist)); -#endif - -#if defined(CONFIG_ARM) DEFINE(GD_RELOCADDR, offsetof(struct global_data, relocaddr)); @@ -43,7 +38,5 @@ int main(void) DEFINE(GD_START_ADDR_SP, offsetof(struct global_data, start_addr_sp)); -#endif - return 0; }