mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
common: env_common: make env_get_char_spec __weak
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
862c93e96e
commit
0b7df65657
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue