blob: 6849b4ae9f2c65e0617a25aae443a4817772d1c0 [file] [log] [blame]
wdenk5c952cf2004-10-10 21:27:30 +00001/*
2 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
3 * Scott McNutt <smcnutt@psyent.com>
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 ********************************************************************
wdenk5c952cf2004-10-10 21:27:30 +000013 */
14
15#ifndef __ASM_NIOS2_U_BOOT_H_
16#define __ASM_NIOS2_U_BOOT_H_
17
18typedef struct bd_info {
19 unsigned long bi_memstart; /* start of DRAM memory */
Becky Bruceb57ca3e2008-06-09 20:37:16 -050020 phys_size_t bi_memsize; /* size of DRAM memory in bytes */
wdenk5c952cf2004-10-10 21:27:30 +000021 unsigned long bi_flashstart; /* start of FLASH memory */
22 unsigned long bi_flashsize; /* size of FLASH memory */
23 unsigned long bi_flashoffset; /* reserved area for startup monitor */
24 unsigned long bi_sramstart; /* start of SRAM memory */
25 unsigned long bi_sramsize; /* size of SRAM memory */
Simon Glass7fffe2f2012-10-12 14:21:12 +000026 unsigned int bi_baudrate; /* Console Baudrate */
wdenk5c952cf2004-10-10 21:27:30 +000027} bd_t;
28
Mike Frysinger476af292011-10-03 14:50:33 +000029/* For image.h:image_check_target_arch() */
30#define IH_ARCH_DEFAULT IH_ARCH_NIOS2
wdenk5c952cf2004-10-10 21:27:30 +000031
32#endif /* __ASM_NIOS2_U_BOOT_H_ */