Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 1 | /* |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 2 | * SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 3 | * |
| 4 | ******************************************************************** |
| 5 | * NOTE: This header file defines an interface to U-Boot. Including |
| 6 | * this (unmodified) header file in another file is considered normal |
| 7 | * use of U-Boot, and does *not* fall under the heading of "derived |
| 8 | * work". |
| 9 | ******************************************************************** |
| 10 | */ |
| 11 | |
| 12 | #ifndef __ASM_SH_U_BOOT_H_ |
| 13 | #define __ASM_SH_U_BOOT_H_ |
| 14 | |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 15 | typedef struct bd_info { |
| 16 | unsigned long bi_memstart; /* start of DRAM memory */ |
Becky Bruce | b57ca3e | 2008-06-09 20:37:16 -0500 | [diff] [blame] | 17 | phys_size_t bi_memsize; /* size of DRAM memory in bytes */ |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 18 | unsigned long bi_flashstart; /* start of FLASH memory */ |
| 19 | unsigned long bi_flashsize; /* size of FLASH memory */ |
| 20 | unsigned long bi_flashoffset; /* reserved area for startup monitor */ |
| 21 | unsigned long bi_sramstart; /* start of SRAM memory */ |
| 22 | unsigned long bi_sramsize; /* size of SRAM memory */ |
Simon Glass | ecd4551 | 2012-10-12 14:21:08 +0000 | [diff] [blame] | 23 | unsigned int bi_baudrate; /* Console Baudrate */ |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 24 | unsigned long bi_boot_params; /* where this board expects params */ |
| 25 | } bd_t; |
| 26 | |
Mike Frysinger | 476af29 | 2011-10-03 14:50:33 +0000 | [diff] [blame] | 27 | /* For image.h:image_check_target_arch() */ |
| 28 | #define IH_ARCH_DEFAULT IH_ARCH_SH |
| 29 | |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 30 | #endif |