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

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/arm/include/asm/arch-at91/at91_st.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) 2009 Jens Scharsig (js_at_ng@scharsoft.de)
 
3
 *
 
4
 * SPDX-License-Identifier:     GPL-2.0+
 
5
 */
 
6
 
 
7
#ifndef AT91_ST_H
 
8
#define AT91_ST_H
 
9
 
 
10
typedef struct at91_st {
 
11
 
 
12
        u32     cr;
 
13
        u32     pimr;
 
14
        u32     wdmr;
 
15
        u32     rtmr;
 
16
        u32     sr;
 
17
        u32     ier;
 
18
        u32     idr;
 
19
        u32     imr;
 
20
        u32     rtar;
 
21
        u32     crtr;
 
22
} at91_st_t ;
 
23
 
 
24
#define AT91_ST_CR_WDRST        1
 
25
 
 
26
#define AT91_ST_WDMR_WDV(x)     (x & 0xFFFF)
 
27
#define AT91_ST_WDMR_RSTEN      0x00010000
 
28
#define AT91_ST_WDMR_EXTEN      0x00020000
 
29
 
 
30
#endif