summaryrefslogtreecommitdiff
path: root/common/env_dataflash.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-24 17:51:27 -0400
committerWolfgang Denk <wd@denx.de>2009-08-09 22:41:42 +0200
commit18304f7675e84252965b4e24cba279071f1da472 (patch)
tree9ddc4f54c1da582300862a6bfbb0e47f1267f28b /common/env_dataflash.c
parentbedd8403f77f790e9876578885eab1200ba2f8d8 (diff)
downloadu-boot-imx-18304f7675e84252965b4e24cba279071f1da472.zip
u-boot-imx-18304f7675e84252965b4e24cba279071f1da472.tar.gz
u-boot-imx-18304f7675e84252965b4e24cba279071f1da472.tar.bz2
env: kill off default_environment_size
The only environment type that uses this variable is spi flash, and that is only because it is reimplementing the common set_default_env() function. So fix the spi flash code and kill off the default_environment_size in the process. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/env_dataflash.c')
-rw-r--r--common/env_dataflash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/env_dataflash.c b/common/env_dataflash.c
index fed919e..27a3bbc 100644
--- a/common/env_dataflash.c
+++ b/common/env_dataflash.c
@@ -35,7 +35,6 @@ extern int write_dataflash (unsigned long addr_dest, unsigned long addr_src,
unsigned long size);
extern int AT91F_DataflashInit (void);
extern uchar default_environment[];
-/* extern int default_environment_size; */
uchar env_get_char_spec (int index)