From c9dca3c3f37d2647aec4509b24b16d15882ae3e4 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Mon, 12 May 2008 00:40:58 +0200 Subject: 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. --- common/cmd_nvedit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/cmd_nvedit.c') diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index dc05f68bf..cab727f76 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -68,6 +68,9 @@ DECLARE_GLOBAL_DATA_PTR; /************************************************************************ ************************************************************************/ +/* Function that returns a character from the environment */ +extern uchar (*env_get_char)(int); + /* Function that returns a pointer to a value from the environment */ /* (Only memory version supported / needed). */ extern uchar *env_get_addr(int); -- cgit v1.2.3