summaryrefslogtreecommitdiff
path: root/common/ft_build.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/ft_build.c
parent20e5ed137483823aaea5178169f3b144c7a4d9e0 (diff)
downloadu-boot-imx-c9dca3c3f37d2647aec4509b24b16d15882ae3e4.zip
u-boot-imx-c9dca3c3f37d2647aec4509b24b16d15882ae3e4.tar.gz
u-boot-imx-c9dca3c3f37d2647aec4509b24b16d15882ae3e4.tar.bz2
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/ft_build.c')
-rw-r--r--common/ft_build.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/ft_build.c b/common/ft_build.c
index 0b6c2b7..0e5699a 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -396,6 +396,8 @@ void *ft_get_prop(void *bphp, const char *propname, int *szp)
/********************************************************************/
+/* Function that returns a character from the environment */
+extern uchar(*env_get_char) (int);
void ft_setup(void *blob, bd_t * bd, ulong initrd_start, ulong initrd_end)
{