1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2007, Tensilica Inc.
5 ********************************************************************
6 * NOTE: This header file defines an interface to U-Boot. Including
7 * this (unmodified) header file in another file is considered normal
8 * use of U-Boot, and does *not* fall under the heading of "derived
10 ********************************************************************
13 #ifndef _XTENSA_U_BOOT_H
14 #define _XTENSA_U_BOOT_H
16 #ifdef CONFIG_SYS_GENERIC_BOARD
17 /* Use the generic board which requires a unified bd_info */
18 #include <asm-generic/u-boot.h>
22 typedef struct bd_info {
23 int bi_baudrate; /* serial console baudrate */
24 unsigned long bi_ip_addr; /* IP Address */
25 unsigned char bi_enetaddr[6]; /* Ethernet adress */
26 unsigned long bi_boot_params; /* where this board expects params */
27 unsigned long bi_memstart; /* start of DRAM memory VA */
28 unsigned long bi_memsize; /* size of DRAM memory in bytes */
29 unsigned long bi_flashstart; /* start of FLASH memory */
30 unsigned long bi_flashsize; /* size of FLASH memory */
31 unsigned long bi_flashoffset; /* offset to skip UBoot image */
33 #endif /* __ ASSEMBLY__ */
35 #endif /* CONFIG_SYS_GENERIC_BOARD */
37 /* For image.h:image_check_target_arch() */
38 #define IH_ARCH_DEFAULT IH_ARCH_XTENSA
40 #endif /* _XTENSA_U_BOOT_H */