提交 5527efe5 编写于 作者: I Igor Grinberg 提交者: Tom Rini

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: NIgor Grinberg <grinberg@compulab.co.il>
Signed-off-by: NStefan Roese <sr@denx.de>
Acked-by: NMatthias Fuchs <matthias.fuchs@esd.eu>
上级 a821d08d
......@@ -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[])
{
......
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册