2 * (C) Copyright 2000 - 2002
5 * (C) Copyright 2007, From asm-ppc/u-boot.h
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23 ********************************************************************
24 * NOTE: This header file defines an interface to U-Boot. Including
25 * this (unmodified) header file in another file is considered normal
26 * use of U-Boot, and does *not* fall under the heading of "derived
28 ********************************************************************
35 * Currently, this Board information is not passed to
36 * Linux kernel from U-Boot, but may be passed to other
37 * Operating systems. This is because U-boot emulates
38 * a SUN PROM loader (from Linux point of view).
40 * include/asm-sparc/u-boot.h
45 typedef struct bd_info {
46 unsigned long bi_memstart; /* start of DRAM memory */
47 unsigned long bi_memsize; /* size of DRAM memory in bytes */
48 unsigned long bi_flashstart; /* start of FLASH memory */
49 unsigned long bi_flashsize; /* size of FLASH memory */
50 unsigned long bi_flashoffset; /* reserved area for startup monitor */
51 unsigned long bi_sramstart; /* start of SRAM memory */
52 unsigned long bi_sramsize; /* size of SRAM memory */
53 unsigned long bi_bootflags; /* boot / reboot flag (for LynxOS) */
54 unsigned long bi_ip_addr; /* IP Address */
55 unsigned char bi_enetaddr[6]; /* Ethernet adress */
56 unsigned short bi_ethspeed; /* Ethernet speed in Mbps */
57 unsigned long bi_intfreq; /* Internal Freq, in MHz */
58 unsigned long bi_busfreq; /* Bus Freq, in MHz */
59 unsigned long bi_baudrate; /* Console Baudrate */
60 #ifdef CONFIG_HAS_ETH1
61 /* second onboard ethernet port */
62 unsigned char bi_enet1addr[6];
64 #ifdef CONFIG_HAS_ETH2
65 /* third onboard ethernet port */
66 unsigned char bi_enet2addr[6];
68 #ifdef CONFIG_HAS_ETH3
69 unsigned char bi_enet3addr[6];
73 #endif /* __ASSEMBLY__ */
74 #endif /* __U_BOOT_H__ */