Wolfgang Denk | 83c1585 | 2006-10-24 14:21:16 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004-2006 Atmel Corporation |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 83c1585 | 2006-10-24 14:21:16 +0200 | [diff] [blame] | 5 | */ |
| 6 | #ifndef __ASM_U_BOOT_H__ |
| 7 | #define __ASM_U_BOOT_H__ 1 |
| 8 | |
| 9 | typedef struct bd_info { |
Simon Glass | f7cd60a | 2012-10-12 14:21:09 +0000 | [diff] [blame] | 10 | unsigned int bi_baudrate; |
Wolfgang Denk | 83c1585 | 2006-10-24 14:21:16 +0200 | [diff] [blame] | 11 | unsigned char bi_phy_id[4]; |
Wolfgang Denk | 83c1585 | 2006-10-24 14:21:16 +0200 | [diff] [blame] | 12 | unsigned long bi_board_number; |
| 13 | void *bi_boot_params; |
| 14 | struct { |
| 15 | unsigned long start; |
| 16 | unsigned long size; |
| 17 | } bi_dram[CONFIG_NR_DRAM_BANKS]; |
| 18 | unsigned long bi_flashstart; |
| 19 | unsigned long bi_flashsize; |
| 20 | unsigned long bi_flashoffset; |
| 21 | } bd_t; |
| 22 | |
| 23 | #define bi_memstart bi_dram[0].start |
| 24 | #define bi_memsize bi_dram[0].size |
| 25 | |
Mike Frysinger | 5da0bed | 2011-10-03 14:50:33 +0000 | [diff] [blame] | 26 | /* For image.h:image_check_target_arch() */ |
| 27 | #define IH_ARCH_DEFAULT IH_ARCH_AVR32 |
| 28 | |
Wolfgang Denk | 83c1585 | 2006-10-24 14:21:16 +0200 | [diff] [blame] | 29 | #endif /* __ASM_U_BOOT_H__ */ |