Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 1 | /* |
| 2 | * U-boot - u-boot.h Structure declarations for board specific data |
| 3 | * |
Aubrey Li | 155fd76 | 2007-04-05 18:31:18 +0800 | [diff] [blame] | 4 | * Copyright (c) 2005-2007 Analog Devices Inc. |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 5 | * |
| 6 | * (C) Copyright 2000-2004 |
| 7 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 8 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | * SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef _U_BOOT_H_ |
| 13 | #define _U_BOOT_H_ 1 |
| 14 | |
| 15 | typedef struct bd_info { |
Simon Glass | 5e84e5a | 2012-10-12 14:21:17 +0000 | [diff] [blame] | 16 | unsigned int bi_baudrate; /* serial console baudrate */ |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 17 | unsigned long bi_boot_params; /* where this board expects params */ |
| 18 | unsigned long bi_memstart; /* start of DRAM memory */ |
Becky Bruce | b57ca3e | 2008-06-09 20:37:16 -0500 | [diff] [blame] | 19 | phys_size_t bi_memsize; /* size of DRAM memory in bytes */ |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 20 | unsigned long bi_flashstart; /* start of FLASH memory */ |
| 21 | unsigned long bi_flashsize; /* size of FLASH memory */ |
| 22 | unsigned long bi_flashoffset; /* reserved area for startup monitor */ |
Mike Frysinger | d4d7730 | 2008-02-04 19:26:55 -0500 | [diff] [blame] | 23 | const char *bi_r_version; |
| 24 | const char *bi_cpu; |
| 25 | const char *bi_board_name; |
| 26 | unsigned long bi_vco; |
| 27 | unsigned long bi_cclk; |
| 28 | unsigned long bi_sclk; |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 29 | } bd_t; |
| 30 | |
Mike Frysinger | 476af29 | 2011-10-03 14:50:33 +0000 | [diff] [blame] | 31 | /* For image.h:image_check_target_arch() */ |
| 32 | #define IH_ARCH_DEFAULT IH_ARCH_BLACKFIN |
| 33 | |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 34 | #endif /* _U_BOOT_H_ */ |