blob: fc36ced519e55ef64aee1ef6c3eae8b5bfd7e416 [file] [log] [blame]
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01001/*
2 * U-boot - u-boot.h Structure declarations for board specific data
3 *
Aubrey Li155fd762007-04-05 18:31:18 +08004 * Copyright (c) 2005-2007 Analog Devices Inc.
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01005 *
6 * (C) Copyright 2000-2004
7 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02009 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010010 */
11
12#ifndef _U_BOOT_H_
13#define _U_BOOT_H_ 1
14
15typedef struct bd_info {
Simon Glass5e84e5a2012-10-12 14:21:17 +000016 unsigned int bi_baudrate; /* serial console baudrate */
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010017 unsigned long bi_boot_params; /* where this board expects params */
18 unsigned long bi_memstart; /* start of DRAM memory */
Becky Bruceb57ca3e2008-06-09 20:37:16 -050019 phys_size_t bi_memsize; /* size of DRAM memory in bytes */
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010020 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 Frysingerd4d77302008-02-04 19:26:55 -050023 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 Denk6cb142f2006-03-12 02:12:27 +010029} bd_t;
30
Mike Frysinger476af292011-10-03 14:50:33 +000031/* For image.h:image_check_target_arch() */
32#define IH_ARCH_DEFAULT IH_ARCH_BLACKFIN
33
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010034#endif /* _U_BOOT_H_ */