projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert CONFIG_CMD_ENV_CALLBACK to Kconfig
[platform/kernel/u-boot.git]
/
lib
/
asm-offsets.c
diff --git
a/lib/asm-offsets.c
b/lib/asm-offsets.c
index
580f763
..
221ebbf
100644
(file)
--- 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_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));
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));
DEFINE(GD_START_ADDR_SP, offsetof(struct global_data, start_addr_sp));
-#endif
-
return 0;
}
return 0;
}