xref: /netbsd-src/sys/arch/evbarm/smdk2xx0/smdk2800var.h (revision 4c5c06097c52451e0cfc9603a4e18d8a6a5367e4)
1 /*
2  * Copyright (c) 2005  Genetec Corporation.  All rights reserved.
3  * Written by Hiroyuki Bessho for Genetec Corporation.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  * 1. Redistributions of source code must retain the above copyright
9  *    notice, this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright
11  *    notice, this list of conditions and the following disclaimer in the
12  *    documentation and/or other materials provided with the distribution.
13  * 3. The name of Genetec Corporation may not be used to endorse or
14  *    promote products derived from this software without specific prior
15  *    written permission.
16  *
17  * THIS SOFTWARE IS PROVIDED BY GENETEC CORPORATION ``AS IS'' AND
18  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
19  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GENETEC CORPORATION
21  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27  * POSSIBILITY OF SUCH DAMAGE.
28  */
29 
30 
31 #ifndef	_EVBARM_SMDK2XX0_SMDK2800VAR_H
32 #define	_EVBARM_SMDK2XX0_SMDK2800VAR_H
33 
34 #ifndef	SDRAM_START
35 #define	SDRAM_START	S3C2800_DBANK0_START
36 #endif
37 #ifndef	SDRAM_SIZE
38 #define	SDRAM_SIZE	(32*1024*1024)
39 #endif
40 
41 /*
42  * Address to map I/O registers in early initialize stage.
43  */
44 #define	SMDK2800_IO_AREA_VBASE	0xfd000000 /* 2MBytes */
45 #define	SMDK2800_MEMORY_DISK_VADDR	0xfd200000
46 
47 #endif	/* _EVBARM_SMDK2XX0_SMDK2800VAR_H */
48