summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-12 00:40:58 +0200
committerWolfgang Denk <wd@denx.de>2008-05-12 00:40:58 +0200
commitc9dca3c3f37d2647aec4509b24b16d15882ae3e4 (patch)
treedd61ab9cd4695c9ae3ae9dee5a58320526abf1a4 /common/cmd_nvedit.c
parent20e5ed137483823aaea5178169f3b144c7a4d9e0 (diff)
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/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index dc05f68bfeb..cab727f76ca 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);