diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-07-12 15:22:13 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-18 17:53:24 -0400 |
commit | 0b7df656570e9126616529d03d99261956081bc4 (patch) | |
tree | 67a3ec88f1ee826627ad358a41643b65d52efdc7 /common/env_common.c | |
parent | 862c93e96ec2f092f2a16a0f8b4a0a1ecaab6d13 (diff) | |
download | u-boot-imx-0b7df656570e9126616529d03d99261956081bc4.zip u-boot-imx-0b7df656570e9126616529d03d99261956081bc4.tar.gz u-boot-imx-0b7df656570e9126616529d03d99261956081bc4.tar.bz2 |
common: env_common: make env_get_char_spec __weak
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common/env_common.c')
-rw-r--r-- | common/env_common.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/env_common.c b/common/env_common.c index cd7b4cd..3b979bc 100644 --- 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) { |