Wolfgang Denk | 97caf67 | 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 | 314d22f | 2007-04-05 18:31:18 +0800 | [diff] [blame] | 4 | * Copyright (c) 2005-2007 Analog Devices Inc. |
Wolfgang Denk | 97caf67 | 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 | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | * SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 97caf67 | 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 | 97caf67 | 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 | a36601e | 2008-06-09 20:37:16 -0500 | [diff] [blame] | 18 | phys_size_t bi_memsize; /* size of DRAM memory in bytes */ |
Wolfgang Denk | 97caf67 | 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 | 66c4cf4 | 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 | 3fbfdd1 | 2014-07-17 19:00:29 +0800 | [diff] [blame] | 28 | unsigned char bi_enetaddr[6]; |
Wolfgang Denk | 97caf67 | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 29 | } bd_t; |
| 30 | |
Mike Frysinger | 5da0bed | 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 | 3fbfdd1 | 2014-07-17 19:00:29 +0800 | [diff] [blame] | 34 | int arch_misc_init(void); |
| 35 | |
Wolfgang Denk | 97caf67 | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 36 | #endif /* _U_BOOT_H_ */ |