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_flash.c | |
parent | e3150460a4fd3a7126bcbf1e225610e0d494c8fe (diff) | |
download | u-boot-d1459f0fab1ac145051a74094c96592c694f84af.tar.gz u-boot-d1459f0fab1ac145051a74094c96592c694f84af.tar.bz2 u-boot-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_flash.c')
-rw-r--r-- | common/env_flash.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/env_flash.c b/common/env_flash.c index 8e415d72d3..d9f8fcb1ef 100644 --- a/common/env_flash.c +++ b/common/env_flash.c @@ -74,8 +74,6 @@ static env_t *flash_addr_new = (env_t *)CONFIG_ENV_ADDR_REDUND; static ulong end_addr_new = CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SECT_SIZE - 1; #endif /* CONFIG_ENV_ADDR_REDUND */ -extern const uchar default_environment[]; - uchar env_get_char_spec(int index) { |