2 * Copyright (C) 2004-2006 Atmel Corporation
4 * SPDX-License-Identifier: GPL-2.0+
6 #ifndef __ASM_U_BOOT_H__
7 #define __ASM_U_BOOT_H__ 1
9 #ifdef CONFIG_SYS_GENERIC_BOARD
10 /* Use the generic board which requires a unified bd_info */
11 #include <asm-generic/u-boot.h>
14 typedef struct bd_info {
15 unsigned char bi_phy_id[4];
16 unsigned long bi_board_number;
21 } bi_dram[CONFIG_NR_DRAM_BANKS];
22 unsigned long bi_flashstart;
23 unsigned long bi_flashsize;
24 unsigned long bi_flashoffset;
27 #define bi_memstart bi_dram[0].start
28 #define bi_memsize bi_dram[0].size
32 /* For image.h:image_check_target_arch() */
33 #define IH_ARCH_DEFAULT IH_ARCH_AVR32
35 int arch_cpu_init(void);
38 #endif /* __ASM_U_BOOT_H__ */