Stefan Kristiansson | ca9d3ab | 2011-11-26 19:04:49 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2003 |
| 3 | * Wolfgang Denk, DENX Software Engineering, <wd@denx.de> |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Stefan Kristiansson | ca9d3ab | 2011-11-26 19:04:49 +0000 | [diff] [blame] | 6 | * |
| 7 | ******************************************************************** |
| 8 | * NOTE: This header file defines an interface to U-Boot. Including |
| 9 | * this (unmodified) header file in another file is considered normal |
| 10 | * use of U-Boot, and does *not* fall under the heading of "derived |
| 11 | * work". |
| 12 | ******************************************************************** |
| 13 | */ |
| 14 | |
| 15 | #ifndef _U_BOOT_H_ |
| 16 | #define _U_BOOT_H_ |
| 17 | |
| 18 | typedef struct bd_info { |
Simon Glass | 7a68e33 | 2012-10-12 14:21:13 +0000 | [diff] [blame] | 19 | unsigned int bi_baudrate; /* serial console baudrate */ |
Stefan Kristiansson | ca9d3ab | 2011-11-26 19:04:49 +0000 | [diff] [blame] | 20 | unsigned long bi_arch_number; /* unique id for this board */ |
| 21 | unsigned long bi_boot_params; /* where this board expects params */ |
| 22 | unsigned long bi_memstart; /* start of DRAM memory */ |
| 23 | phys_size_t bi_memsize; /* size of DRAM memory in bytes */ |
| 24 | unsigned long bi_flashstart; /* start of FLASH memory */ |
| 25 | unsigned long bi_flashsize; /* size of FLASH memory */ |
| 26 | unsigned long bi_flashoffset; /* reserved area for startup monitor */ |
| 27 | } bd_t; |
| 28 | |
| 29 | #define IH_ARCH_DEFAULT IH_ARCH_OPENRISC |
| 30 | |
| 31 | #endif /* _U_BOOT_H_ */ |