1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
5 * Marius Groeger <mgroeger@sysgo.de>
7 * Copyright (C) 2011 Andes Technology Corporation
8 * Copyright (C) 2010 Shawn Lin (nobuhiro@andestech.com)
9 * Copyright (C) 2011 Macpaul Lin (macpaul@andestech.com)
11 ********************************************************************
12 * NOTE: This header file defines an interface to U-Boot. Including
13 * this (unmodified) header file in another file is considered normal
14 * use of U-Boot, and does *not* fall under the heading of "derived
16 ********************************************************************
22 #include <asm/u-boot-nds32.h>
25 typedef struct bd_info {
26 unsigned long bi_arch_number; /* unique id for this board */
27 unsigned long bi_boot_params; /* where this board expects params */
28 unsigned long bi_memstart; /* start of DRAM memory */
29 unsigned long bi_memsize; /* size of DRAM memory in bytes */
30 unsigned long bi_flashstart; /* start of FLASH memory */
31 unsigned long bi_flashsize; /* size of FLASH memory */
32 unsigned long bi_flashoffset; /* reserved area for startup monitor */
33 unsigned char bi_enetaddr[6];
35 struct /* RAM configuration */
39 } bi_dram[CONFIG_NR_DRAM_BANKS];
42 /* For image.h:image_check_target_arch() */
43 #define IH_ARCH_DEFAULT IH_ARCH_NDS32
45 #endif /* _U_BOOT_H_ */