projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
862c93e
)
common: env_common: make env_get_char_spec __weak
author
Jeroen Hofstee
<jeroen@myspectrum.nl>
Sat, 12 Jul 2014 13:22:13 +0000
(15:22 +0200)
committer
Tom Rini
<trini@ti.com>
Fri, 18 Jul 2014 21:53:24 +0000
(17:53 -0400)
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
common/env_common.c
patch
|
blob
|
history
diff --git
a/common/env_common.c
b/common/env_common.c
index cd7b4cd1dfb7c3a59bfad6f1ae6c5fe5bb07dd8f..3b979bcb9869996d14937aeba5c2856a7147ae3a 100644
(file)
--- a/
common/env_common.c
+++ b/
common/env_common.c
@@
-27,12
+27,10
@@
struct hsearch_data env_htab = {
.change_ok = env_flags_validate,
};
-
static uchar __
env_get_char_spec(int index)
+
__weak uchar
env_get_char_spec(int index)
{
return *((uchar *)(gd->env_addr + index));
}
-uchar env_get_char_spec(int)
- __attribute__((weak, alias("__env_get_char_spec")));
static uchar env_get_char_init(int index)
{