projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff6c032
)
lib/asm-offsets - make GD_RELOCADDR, GD_RELOC_OFF & GD_START_ADDR_SP available for...
author
Alexey Brodkin
<
[email protected]
>
Wed, 25 Feb 2015 10:09:20 +0000
(13:09 +0300)
committer
Tom Rini
<
[email protected]
>
Fri, 6 Mar 2015 01:50:28 +0000
(20:50 -0500)
GD_RELOCADDR, GD_RELOC_OFF & GD_START_ADDR_SP are generic members of
global data structure so why don't we allow architectures other than ARM
to use it.
Signed-off-by: Alexey Brodkin <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
lib/asm-offsets.c
patch
|
blob
|
history
diff --git
a/lib/asm-offsets.c
b/lib/asm-offsets.c
index 129bc3e2aff7eb18d80a4a10afe9cb5688f33384..221ebbf1771e06a9ae0b8f8e312b095e12348ffa 100644
(file)
--- a/
lib/asm-offsets.c
+++ b/
lib/asm-offsets.c
@@
-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;
}