Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 1 | /* |
| 2 | * This program is free software; you can redistribute it and/or |
| 3 | * modify it under the terms of the GNU General Public License as |
| 4 | * published by the Free Software Foundation; either version 2 of |
| 5 | * the License, or (at your option) any later version. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | * |
| 12 | * You should have received a copy of the GNU General Public License |
| 13 | * along with this program; if not, write to the Free Software |
| 14 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 15 | * MA 02111-1307 USA |
| 16 | * |
| 17 | ******************************************************************** |
| 18 | * NOTE: This header file defines an interface to U-Boot. Including |
| 19 | * this (unmodified) header file in another file is considered normal |
| 20 | * use of U-Boot, and does *not* fall under the heading of "derived |
| 21 | * work". |
| 22 | ******************************************************************** |
| 23 | */ |
| 24 | |
| 25 | #ifndef __ASM_SH_U_BOOT_H_ |
| 26 | #define __ASM_SH_U_BOOT_H_ |
| 27 | |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 28 | typedef struct bd_info { |
| 29 | unsigned long bi_memstart; /* start of DRAM memory */ |
Becky Bruce | b57ca3e | 2008-06-09 20:37:16 -0500 | [diff] [blame] | 30 | phys_size_t bi_memsize; /* size of DRAM memory in bytes */ |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 31 | unsigned long bi_flashstart; /* start of FLASH memory */ |
| 32 | unsigned long bi_flashsize; /* size of FLASH memory */ |
| 33 | unsigned long bi_flashoffset; /* reserved area for startup monitor */ |
| 34 | unsigned long bi_sramstart; /* start of SRAM memory */ |
| 35 | unsigned long bi_sramsize; /* size of SRAM memory */ |
| 36 | unsigned long bi_ip_addr; /* IP Address */ |
| 37 | unsigned char bi_enetaddr[6]; /* Ethernet adress */ |
| 38 | unsigned long bi_baudrate; /* Console Baudrate */ |
| 39 | unsigned long bi_boot_params; /* where this board expects params */ |
| 40 | } bd_t; |
| 41 | |
| 42 | #endif |