diff options
| author | Igor Grinberg <grinberg@compulab.co.il> | 2011-11-17 06:07:23 +0000 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2011-11-22 08:39:25 +0100 | 
| commit | 994bc671cf8fd3f6d41bb680da738f814f4a9f38 (patch) | |
| tree | 27a33cdeef18689c4adc5d4f532df3197de9b5fe /common/env_flash.c | |
| parent | d1459f0fab1ac145051a74094c96592c694f84af (diff) | |
| download | olio-uboot-2014.01-994bc671cf8fd3f6d41bb680da738f814f4a9f38.tar.xz olio-uboot-2014.01-994bc671cf8fd3f6d41bb680da738f814f4a9f38.zip | |
env: move extern environment[] to environment.h
Extract all extern declarations for environment out of c files
into the environment.h header.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'common/env_flash.c')
| -rw-r--r-- | common/env_flash.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/common/env_flash.c b/common/env_flash.c index d9f8fcb1e..e770ee636 100644 --- a/common/env_flash.c +++ b/common/env_flash.c @@ -49,9 +49,7 @@ DECLARE_GLOBAL_DATA_PTR;  char * env_name_spec = "Flash";  #ifdef ENV_IS_EMBEDDED - -extern uchar environment[]; -env_t *env_ptr = (env_t *)(&environment[0]); +env_t *env_ptr = &environment;  static env_t *flash_addr = (env_t *)CONFIG_ENV_ADDR; |