Skip to contentSkip to conversation

arm: get rid of bi_env

RFC PATCH New Heiko Schocher 1 participant 1 message Jul 29, 2010 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/19 arm: get rid of bi_env

bi_env is nowhere used, so delete it

---
similar patch posted from Dirk Behme Tue Jul 27 18:36:09 CEST 2010
http://lists.denx.de/pipermail/u-boot/2010-July/074542.html

so this patch maybe obsolete

 arch/arm/include/asm/u-boot.h |    1 -
 common/cmd_bdinfo.c           |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/include/asm/u-boot.h +0 -1
index cfd5a9b..08ce3de 100644
@@ -39,7 +39,6 @@
 typedef struct bd_info {
     int			bi_baudrate;	/* serial console baudrate */
     unsigned long	bi_ip_addr;	/* IP Address */
-    struct environment_s	       *bi_env;
     ulong	        bi_arch_number;	/* unique id for this board */
     ulong	        bi_boot_params;	/* where this board expects params */
     struct				/* RAM configuration */
common/cmd_bdinfo.c +0 -1
index fbe73f1..cc81543 100644
@@ -330,7 +330,6 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	bd_t *bd = gd->bd;
 
 	print_num ("arch_number",	bd->bi_arch_number);
-	print_num ("env_t",		(ulong)bd->bi_env);
 	print_num ("boot_params",	(ulong)bd->bi_boot_params);
 
 	for (i=0; i<CONFIG_NR_DRAM_BANKS; ++i) {
Signature · 5 lines
1.6.2.5

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany