blob: 7b5cf6a1b69406e0dedf5c045d9632642dc97b41 [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 {
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010016 unsigned long bi_boot_params; /* where this board expects params */
17 unsigned long bi_memstart; /* start of DRAM memory */
Becky Bruceb57ca3e2008-06-09 20:37:16 -050018 phys_size_t bi_memsize; /* size of DRAM memory in bytes */
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010019 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 Frysingerd4d77302008-02-04 19:26:55 -050022 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 Zhangc49eabe2014-07-17 19:00:29 +080028 unsigned char bi_enetaddr[6];
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
Sonic Zhangc49eabe2014-07-17 19:00:29 +080034int arch_misc_init(void);
35
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010036#endif /* _U_BOOT_H_ */