]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/asm-avr32/u-boot.h
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / include / asm-avr32 / u-boot.h
index 71dfcaf284076e99cf18592fb27d2bdf89399745..7e4001fc5d773764ebf9d7062963edf9433ee36d 100755 (executable)
@@ -25,7 +25,6 @@
 typedef struct bd_info {
        unsigned long           bi_baudrate;
        unsigned long           bi_ip_addr;
-       unsigned char           bi_enetaddr[6];
        unsigned char           bi_phy_id[4];
        struct environment_s    *bi_env;
        unsigned long           bi_board_number;
@@ -42,15 +41,4 @@ typedef struct bd_info {
 #define bi_memstart bi_dram[0].start
 #define bi_memsize bi_dram[0].size
 
-/**
- *  container_of - cast a member of a structure out to the containing structure
- *
- *    @ptr:        the pointer to the member.
- *    @type:       the type of the container struct this is embedded in.
- *    @member:     the name of the member within the struct.
- */
-#define container_of(ptr, type, member) ({                      \
-       const typeof( ((type *)0)->member ) *__mptr = (ptr);    \
-       (type *)( (char *)__mptr - offsetof(type,member) );})
-
 #endif /* __ASM_U_BOOT_H__ */