~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/avr32/include/asm/u-boot.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2004-2006 Atmel Corporation
 
3
 *
 
4
 * SPDX-License-Identifier:     GPL-2.0+
 
5
 */
 
6
#ifndef __ASM_U_BOOT_H__
 
7
#define __ASM_U_BOOT_H__ 1
 
8
 
 
9
typedef struct bd_info {
 
10
        unsigned char           bi_phy_id[4];
 
11
        unsigned long           bi_board_number;
 
12
        void                    *bi_boot_params;
 
13
        struct {
 
14
                unsigned long   start;
 
15
                unsigned long   size;
 
16
        }                       bi_dram[CONFIG_NR_DRAM_BANKS];
 
17
        unsigned long           bi_flashstart;
 
18
        unsigned long           bi_flashsize;
 
19
        unsigned long           bi_flashoffset;
 
20
} bd_t;
 
21
 
 
22
#define bi_memstart bi_dram[0].start
 
23
#define bi_memsize bi_dram[0].size
 
24
 
 
25
/* For image.h:image_check_target_arch() */
 
26
#define IH_ARCH_DEFAULT IH_ARCH_AVR32
 
27
 
 
28
#endif /* __ASM_U_BOOT_H__ */