Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / u-boot / board / sandburst / metrobox / metrobox.h
1 #ifndef __METROBOX_H__
2 #define __METROBOX_H__
3 /*
4  * (C) Copyright 2005
5  * Travis B. Sawyer, Sandburst Corporation, tsawyer@sandburst.com
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 typedef struct metrobox_board_id_s {
11         const char name[40];
12 } METROBOX_BOARD_ID_ST, *METROBOX_BOARD_ID_PST;
13
14
15 /* Metrobox Opto-FPGA registers and definitions */
16 #include "hal_xc_auto.h"
17 typedef struct opto_fpga_regs_s {
18         volatile unsigned long revision_ul;     /* Read Only  */
19         volatile unsigned long reset_ul;        /* Read/Write */
20         volatile unsigned long status_ul;       /* Read Only  */
21         volatile unsigned long interrupt_ul;    /* Read Only  */
22         volatile unsigned long mask_ul; /* Read/Write */
23         volatile unsigned long scratch_ul;      /* Read/Write */
24         volatile unsigned long scrmask_ul;      /* Read/Write */
25         volatile unsigned long control_ul;      /* Read/Write */
26         volatile unsigned long boardinfo_ul;    /* Read Only  */
27 } __attribute__ ((packed)) OPTO_FPGA_REGS_ST , *OPTO_FPGA_REGS_PST;
28
29 #endif /* __METROBOX_H__ */