uboot/board/freescale/mx51evk/mx51evk.h
<<
>>
Prefs
   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__
  27struct 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#endif
  51