diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-11-07 01:13:57 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2011-11-22 08:39:25 +0100 |
commit | d1459f0fab1ac145051a74094c96592c694f84af (patch) | |
tree | 315cf8f8cf8aac1480c43095fe2e36032128061c /common/env_sf.c | |
parent | e3150460a4fd3a7126bcbf1e225610e0d494c8fe (diff) | |
download | u-boot-midas-d1459f0fab1ac145051a74094c96592c694f84af.tar.gz u-boot-midas-d1459f0fab1ac145051a74094c96592c694f84af.tar.bz2 u-boot-midas-d1459f0fab1ac145051a74094c96592c694f84af.zip |
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_sf.c')
-rw-r--r-- | common/env_sf.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common/env_sf.c b/common/env_sf.c index a1ff297ba7..8ff52a31bf 100644 --- a/common/env_sf.c +++ b/common/env_sf.c @@ -55,9 +55,6 @@ static ulong env_new_offset = CONFIG_ENV_OFFSET_REDUND; DECLARE_GLOBAL_DATA_PTR; -/* references to names in env_common.c */ -extern uchar default_environment[]; - char * env_name_spec = "SPI Flash"; static struct spi_flash *env_flash; |