]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/mips/include/asm/u-boot.h
3 * Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
5 * SPDX-License-Identifier: GPL-2.0+
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
12 ********************************************************************
18 #ifdef CONFIG_SYS_GENERIC_BOARD
20 /* Use the generic board which requires a unified bd_info */
21 #include <asm-generic/u-boot.h>
23 #else /* !CONFIG_SYS_GENERIC_BOARD */
25 typedef struct bd_info
{
26 unsigned int bi_baudrate
; /* serial console baudrate */
27 unsigned long bi_arch_number
; /* unique id for this board */
28 unsigned long bi_boot_params
; /* where this board expects params */
29 unsigned long bi_memstart
; /* start of DRAM memory */
30 phys_size_t bi_memsize
; /* size of DRAM memory in bytes */
31 unsigned long bi_flashstart
; /* start of FLASH memory */
32 unsigned long bi_flashsize
; /* size of FLASH memory */
33 unsigned long bi_flashoffset
; /* reserved area for startup monitor */
36 #endif /* !CONFIG_SYS_GENERIC_BOARD */
38 /* For image.h:image_check_target_arch() */
39 #define IH_ARCH_DEFAULT IH_ARCH_MIPS
41 #endif /* _U_BOOT_H_ */