diff options
author | Wolfgang Denk <wd@denx.de> | 2008-05-12 00:40:58 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-12 00:40:58 +0200 |
commit | c9dca3c3f37d2647aec4509b24b16d15882ae3e4 (patch) | |
tree | dd61ab9cd4695c9ae3ae9dee5a58320526abf1a4 /common/env_nvram.c | |
parent | 20e5ed137483823aaea5178169f3b144c7a4d9e0 (diff) | |
download | u-boot-c9dca3c3f37d2647aec4509b24b16d15882ae3e4.tar.gz |
Revert "Change env_get_char from a global function ptr to a function."
This reverts commit c0559be371b2a64b1a817088c3308688e2182f93
which is known to break booting from dataflash and NAND.
Diffstat (limited to 'common/env_nvram.c')
-rw-r--r-- | common/env_nvram.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/env_nvram.c b/common/env_nvram.c index bfc8d02f85..7c18896cb0 100644 --- a/common/env_nvram.c +++ b/common/env_nvram.c @@ -63,6 +63,7 @@ char * env_name_spec = "NVRAM"; extern uchar default_environment[]; extern int default_environment_size; +extern uchar (*env_get_char)(int); extern uchar env_get_char_memory (int index); #ifdef CONFIG_AMIGAONEG3SE |