blob: 985d7d808ac4f7f7ff4fd26b6bc1841d3eda36fe [file] [log] [blame]
wdenk6069ff22003-02-28 00:49:47 +00001/*
2 * (C) Copyright 2003
3 * Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denkf08abe32005-11-25 16:38:03 +01006 *
7 ********************************************************************
8 * NOTE: This header file defines an interface to U-Boot. Including
9 * this (unmodified) header file in another file is considered normal
10 * use of U-Boot, and does *not* fall under the heading of "derived
11 * work".
12 ********************************************************************
wdenk6069ff22003-02-28 00:49:47 +000013 */
14
15#ifndef _U_BOOT_H_
16#define _U_BOOT_H_ 1
17
18typedef struct bd_info {
Simon Glass8dc22b02012-10-12 14:21:18 +000019 unsigned int bi_baudrate; /* serial console baudrate */
wdenk4d75a502003-03-25 16:50:56 +000020 unsigned long bi_arch_number; /* unique id for this board */
21 unsigned long bi_boot_params; /* where this board expects params */
22 unsigned long bi_memstart; /* start of DRAM memory */
Becky Bruceb57ca3e2008-06-09 20:37:16 -050023 phys_size_t bi_memsize; /* size of DRAM memory in bytes */
wdenk4d75a502003-03-25 16:50:56 +000024 unsigned long bi_flashstart; /* start of FLASH memory */
25 unsigned long bi_flashsize; /* size of FLASH memory */
26 unsigned long bi_flashoffset; /* reserved area for startup monitor */
wdenk6069ff22003-02-28 00:49:47 +000027} bd_t;
wdenk6069ff22003-02-28 00:49:47 +000028
Mike Frysinger476af292011-10-03 14:50:33 +000029/* For image.h:image_check_target_arch() */
30#define IH_ARCH_DEFAULT IH_ARCH_MIPS
31
wdenk6069ff22003-02-28 00:49:47 +000032#endif /* _U_BOOT_H_ */