Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 1 | /* |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame^] | 2 | * U-Boot - u-boot.h Structure declarations for board specific data |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 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 { |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 16 | unsigned long bi_boot_params; /* where this board expects params */ |
| 17 | unsigned long bi_memstart; /* start of DRAM memory */ |
Becky Bruce | b57ca3e | 2008-06-09 20:37:16 -0500 | [diff] [blame] | 18 | phys_size_t bi_memsize; /* size of DRAM memory in bytes */ |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 19 | unsigned long bi_flashstart; /* start of FLASH memory */ |
| 20 | unsigned long bi_flashsize; /* size of FLASH memory */ |
| 21 | unsigned long bi_flashoffset; /* reserved area for startup monitor */ |
Mike Frysinger | d4d7730 | 2008-02-04 19:26:55 -0500 | [diff] [blame] | 22 | const char *bi_r_version; |
| 23 | const char *bi_cpu; |
| 24 | const char *bi_board_name; |
| 25 | unsigned long bi_vco; |
| 26 | unsigned long bi_cclk; |
| 27 | unsigned long bi_sclk; |
Sonic Zhang | c49eabe | 2014-07-17 19:00:29 +0800 | [diff] [blame] | 28 | unsigned char bi_enetaddr[6]; |
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 | |
Sonic Zhang | c49eabe | 2014-07-17 19:00:29 +0800 | [diff] [blame] | 34 | int arch_misc_init(void); |
| 35 | |
Wolfgang Denk | 6cb142f | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 36 | #endif /* _U_BOOT_H_ */ |