~ubuntu-branches/ubuntu/maverick/u-boot-omap3/maverick

« back to all changes in this revision

Viewing changes to board/freescale/mx51evk/mx51evk.h

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-03-22 15:06:23 UTC
  • Revision ID: james.westby@ubuntu.com-20100322150623-i21g8rgiyl5dohag
Tags: upstream-2010.3git20100315
ImportĀ upstreamĀ versionĀ 2010.3git20100315

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (C) Copyright 2009 Freescale Semiconductor, Inc.
 
3
 *
 
4
 * See file CREDITS for list of people who contributed to this
 
5
 * project.
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU General Public License as
 
9
 * published by the Free Software Foundation; either version 2 of
 
10
 * the License, or (at your option) any later version.
 
11
 *
 
12
 * This program is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License
 
18
 * along with this program; if not, write to the Free Software
 
19
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 
20
 * MA 02111-1307 USA
 
21
 */
 
22
 
 
23
#ifndef __BOARD_FREESCALE_MX51_EVK_H__
 
24
#define __BOARD_FREESCALE_MX51_EVK_H__
 
25
 
 
26
#ifndef __ASSEMBLY__
 
27
struct io_board_ctrl {
 
28
        u16 led_ctrl;           /* 0x00 */
 
29
        u16 resv1[0x03];
 
30
        u16 sb_stat;            /* 0x08 */
 
31
        u16 resv2[0x03];
 
32
        u16 int_stat;           /* 0x10 */
 
33
        u16 resv3[0x07];
 
34
        u16 int_rest;           /* 0x20 */
 
35
        u16 resv4[0x0B];
 
36
        u16 int_mask;           /* 0x38 */
 
37
        u16 resv5[0x03];
 
38
        u16 id1;                /* 0x40 */
 
39
        u16 resv6[0x03];
 
40
        u16 id2;                /* 0x48 */
 
41
        u16 resv7[0x03];
 
42
        u16 version;            /* 0x50 */
 
43
        u16 resv8[0x03];
 
44
        u16 id3;                /* 0x58 */
 
45
        u16 resv9[0x03];
 
46
        u16 sw_reset;           /* 0x60 */
 
47
};
 
48
#endif
 
49
 
 
50
#define IO_BOARD_OFFSET         (0x20000)
 
51
#endif