blob: 7c4419479406c52da4e860d3133b595a47dd4550 [file] [log] [blame]
wdenk1fe2c702003-03-06 21:55:29 +00001/*
wdenk25521902003-09-13 19:01:12 +00002 * (C) Copyright 2002, 2003
wdenk1fe2c702003-03-06 21:55:29 +00003 * David Mueller, ELSOFT AG, d.mueller@elsoft.ch
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 *
23 */
24 /****************************************************************************
25 * Global routines used for VCMA9
26 *****************************************************************************/
27
kevin.morfitt@fearnside-systems.co.uke0d81312009-11-17 18:30:34 +090028#include <asm/arch/s3c24x0_cpu.h>
wdenk1fe2c702003-03-06 21:55:29 +000029
David Müller (ELSOFT AG)d3a4d252011-05-01 21:52:51 +000030extern void vcma9_print_info(void);
31extern int do_mplcommon(cmd_tbl_t *cmdtp, int flag,
32 int argc, char *const argv[]);
wdenk1fe2c702003-03-06 21:55:29 +000033
David Müller (ELSOFT AG)d3a4d252011-05-01 21:52:51 +000034/* VCMA9 PLD registers */
35enum vcma9_pld_regs {
36 VCMA9_PLD_ID,
37 VCMA9_PLD_NIC,
38 VCMA9_PLD_CAN,
39 VCMA9_PLD_MISC,
40 VCMA9_PLD_GPCD,
41 VCMA9_PLD_BOARD,
42 VCMA9_PLD_SDRAM
43};
wdenk1fe2c702003-03-06 21:55:29 +000044
David Müller (ELSOFT AG)d3a4d252011-05-01 21:52:51 +000045#define VCMA9_PLD_BASE (0x2C000100)