3 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4 * Marius Groeger <mgroeger@sysgo.de>
7 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
8 * Alex Zuepke <azu@sysgo.de>
10 * SPDX-License-Identifier: GPL-2.0+
12 ********************************************************************
13 * NOTE: This header file defines an interface to U-Boot. Including
14 * this (unmodified) header file in another file is considered normal
15 * use of U-Boot, and does *not* fall under the heading of "derived
17 ********************************************************************
23 #ifdef CONFIG_SYS_GENERIC_BOARD
24 /* Use the generic board which requires a unified bd_info */
25 #include <asm-generic/u-boot.h>
29 typedef struct bd_info {
30 ulong bi_arch_number; /* unique id for this board */
31 ulong bi_boot_params; /* where this board expects params */
32 unsigned long bi_arm_freq; /* arm frequency */
33 unsigned long bi_dsp_freq; /* dsp core frequency */
34 unsigned long bi_ddr_freq; /* ddr frequency */
35 struct /* RAM configuration */
39 } bi_dram[CONFIG_NR_DRAM_BANKS];
43 #endif /* !CONFIG_SYS_GENERIC_BOARD */
45 /* For image.h:image_check_target_arch() */
47 #define IH_ARCH_DEFAULT IH_ARCH_ARM
49 #define IH_ARCH_DEFAULT IH_ARCH_ARM64
52 #if defined(CONFIG_USE_PRIVATE_LIBGCC) && defined(CONFIG_SYS_THUMB_BUILD)
53 #error Thumb build does not work with private libgcc.
56 #endif /* _U_BOOT_H_ */