summaryrefslogtreecommitdiff
path: root/common/env_nvram.c
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-11-07 01:13:57 +0000
committerStefano Babic <sbabic@denx.de>2011-11-22 08:39:25 +0100
commitd1459f0fab1ac145051a74094c96592c694f84af (patch)
tree315cf8f8cf8aac1480c43095fe2e36032128061c /common/env_nvram.c
parente3150460a4fd3a7126bcbf1e225610e0d494c8fe (diff)
downloadu-boot-imx-d1459f0fab1ac145051a74094c96592c694f84af.zip
u-boot-imx-d1459f0fab1ac145051a74094c96592c694f84af.tar.gz
u-boot-imx-d1459f0fab1ac145051a74094c96592c694f84af.tar.bz2
env: move extern default_environment[] to environment.h
Extract all extern declarations for default_environment[] out of c files into the environment.h header. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Cc: Stefan Roese <sr@denx.de> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/env_nvram.c')
-rw-r--r--common/env_nvram.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/env_nvram.c b/common/env_nvram.c
index b108e6e..f32d06f 100644
--- a/common/env_nvram.c
+++ b/common/env_nvram.c
@@ -59,8 +59,6 @@ env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR;
char * env_name_spec = "NVRAM";
-extern uchar default_environment[];
-
uchar env_get_char_spec(int index)
{
#ifdef CONFIG_SYS_NVRAM_ACCESS_ROUTINE