]> git.sur5r.net Git - u-boot/blobdiff - include/asm-mips/u-boot.h
Change bd/gd memsize/ram_size to be phys_size_t.
[u-boot] / include / asm-mips / u-boot.h
index ff189d936769b157c73484d046315077fc5ce016..9ecb9ac3273ad48a926df101d8e01cf86f9054e7 100644 (file)
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  * MA 02111-1307 USA
+ *
+ ********************************************************************
+ * NOTE: This header file defines an interface to U-Boot. Including
+ * this (unmodified) header file in another file is considered normal
+ * use of U-Boot, and does *not* fall under the heading of "derived
+ * work".
+ ********************************************************************
  */
 
 #ifndef _U_BOOT_H_
 #define _U_BOOT_H_     1
 
 typedef struct bd_info {
-    int                        bi_baudrate;    /* serial console baudrate */
-    unsigned long      bi_ip_addr;     /* IP Address */
-    unsigned char      bi_enetaddr[6]; /* Ethernet adress */
-    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 */
-    {
-       ulong start;
-       ulong size;
-    }                  bi_dram[CONFIG_NR_DRAM_BANKS];
+       int             bi_baudrate;    /* serial console baudrate */
+       unsigned long   bi_ip_addr;     /* IP Address */
+       unsigned char   bi_enetaddr[6]; /* Ethernet adress */
+       unsigned long   bi_arch_number; /* unique id for this board */
+       unsigned long   bi_boot_params; /* where this board expects params */
+       unsigned long   bi_memstart;    /* start of DRAM memory */
+       phys_size_t     bi_memsize;     /* size  of DRAM memory in bytes */
+       unsigned long   bi_flashstart;  /* start of FLASH memory */
+       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