summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2012-09-28 12:04:46 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:54:00 -0700
commit5527efe501c117fc86273e2d7c7b6f30884015c3 (patch)
treef253411168c089de5bdae2f90e1ce523fcf6e0fc /board
parenta821d08dca891272170d02efcb9ab023696d6486 (diff)
downloadblackbird-obmc-uboot-5527efe501c117fc86273e2d7c7b6f30884015c3.tar.gz
blackbird-obmc-uboot-5527efe501c117fc86273e2d7c7b6f30884015c3.zip
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 <grinberg@compulab.co.il> Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Diffstat (limited to 'board')
-rw-r--r--board/esd/pmc405de/pmc405de.c1
-rw-r--r--board/zeus/zeus.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/board/esd/pmc405de/pmc405de.c b/board/esd/pmc405de/pmc405de.c
index a60809a1dd..279d7d4ff6 100644
--- a/board/esd/pmc405de/pmc405de.c
+++ b/board/esd/pmc405de/pmc405de.c
@@ -415,7 +415,6 @@ U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
#if defined(CONFIG_PRAM)
#include <environment.h>
-extern env_t *env_ptr;
int do_painit(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
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);
OpenPOWER on IntegriCloud