]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: get rid of bi_env
authorHeiko Schocher <hs@denx.de>
Fri, 17 Sep 2010 11:10:28 +0000 (13:10 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Sep 2010 17:29:50 +0000 (19:29 +0200)
bi_env is nowhere used, so delete it!

Signed-off-by: Heiko Schocher <hs@denx.de>
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

arch/arm/include/asm/u-boot.h
arch/avr32/include/asm/u-boot.h
arch/i386/include/asm/u-boot.h
arch/mips/include/asm/u-boot.h
common/cmd_bdinfo.c

index cfd5a9ba45006e6f61a0406292d579fa3fdcb6da..ed333270942d7dd824ca62e88346d955047a46c2 100644 (file)
@@ -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 */
@@ -49,7 +48,4 @@ typedef struct bd_info {
     }                  bi_dram[CONFIG_NR_DRAM_BANKS];
 } bd_t;
 
-#define bi_env_data bi_env->data
-#define bi_env_crc  bi_env->crc
-
 #endif /* _U_BOOT_H_ */
index 7e4001fc5d773764ebf9d7062963edf9433ee36d..8acd0561a8b77d3a45b38f808e3e5a15ff81be46 100644 (file)
@@ -26,7 +26,6 @@ typedef struct bd_info {
        unsigned long           bi_baudrate;
        unsigned long           bi_ip_addr;
        unsigned char           bi_phy_id[4];
-       struct environment_s    *bi_env;
        unsigned long           bi_board_number;
        void                    *bi_boot_params;
        struct {
index 9a1eec0cd54fbfde4574525b5f0bc6c1adccf1a7..a43b3aadedd2801f1f1f67e17ce7de4f7f8a3c90 100644 (file)
@@ -51,7 +51,6 @@ typedef struct bd_info {
        unsigned long   bi_busfreq;     /* Bus Freq, in MHz */
        unsigned int    bi_baudrate;    /* Console Baudrate */
        unsigned long   bi_boot_params; /* where this board expects params */
-       struct environment_s           *bi_env;
        struct                          /* RAM configuration */
        {
                ulong start;
@@ -59,7 +58,4 @@ typedef struct bd_info {
        }bi_dram[CONFIG_NR_DRAM_BANKS];
 } bd_t;
 
-#define bi_env_data bi_env->data
-#define bi_env_crc  bi_env->crc
-
 #endif /* _U_BOOT_H_ */
index d9c14caf4afa63593f516ba9012b3693eb6bfa25..e839ca18ef24b9139d061a3fdb28331f4eff7e3d 100644 (file)
@@ -42,7 +42,5 @@ typedef struct bd_info {
        unsigned long   bi_flashsize;   /* size  of FLASH memory */
        unsigned long   bi_flashoffset; /* reserved area for startup monitor */
 } bd_t;
-#define bi_env_data bi_env->data
-#define bi_env_crc  bi_env->crc
 
 #endif /* _U_BOOT_H_ */
index 84c6ec8e02da7d559474e17effd31416902594a7..7a96d95cc050647ef7d510598899302d5624d798 100644 (file)
@@ -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) {