2 * (C) Copyright 2006 Embedded Artists AB <www.embeddedartists.com>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of
7 * the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 #include <asm/arch/hardware.h>
24 /* some parameters for the board */
25 /* setting up the memory */
26 #define SRAM_START 0x40000000
27 #define SRAM_SIZE 0x00004000
28 #define BCFG0_VALUE 0x1000ffef
29 #define BCFG1_VALUE 0x10001C61
54 /* set up memory control register for bank 0 */
59 /* set up memory control register for bank 1 */
64 /* set up PINSEL2 for bus-pins */
73 /* move vectors to beginning of SRAM */
81 /* Set-up MEMMAP register, so vectors are taken from SRAM */
83 mov r1, #0x02 /* vectors re-mapped to static RAM */
86 /* everything is fine now */