From 5527efe501c117fc86273e2d7c7b6f30884015c3 Mon Sep 17 00:00:00 2001 From: Igor Grinberg Date: Fri, 28 Sep 2012 12:04:46 +0200 Subject: pmc405de and zeus: remove the env_ptr externs The env_ptr is already declared in environment.h, so there is no need to redeclare in board files (especially after including the environment.h) Remove those declarations. Signed-off-by: Igor Grinberg Signed-off-by: Stefan Roese Acked-by: Matthias Fuchs --- board/zeus/zeus.c | 1 - 1 file changed, 1 deletion(-) (limited to 'board/zeus') diff --git a/board/zeus/zeus.c b/board/zeus/zeus.c index 272e59b63a..e7b2f4d512 100644 --- a/board/zeus/zeus.c +++ b/board/zeus/zeus.c @@ -39,7 +39,6 @@ DECLARE_GLOBAL_DATA_PTR; #define REBOOT_DO_POST 0x00000001 extern flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */ -extern env_t *env_ptr; ulong flash_get_size(ulong base, int banknum); void env_crc_update(void); -- cgit v1.2.3