Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / hw / arm / s3c2440.h
blobd54db6e0c88bb0a648e5dfad04c0f3ee72bb6d4c
1 /* hw/s3c2410x.h
3 * Samsung s3c2440 cpu register definitions
5 * Copyright 2009 Daniel Silverstone and Vincent Sanders
7 * This file is under the terms of the GNU General Public
8 * License Version 2.
9 */
11 #ifndef S3C2440_H
12 #define S3C2440_H 1
14 #include "s3c24xx.h"
16 /* S3C2440 Physical memory areas */
18 /* Chip select 0 */
19 #define CPU_S3C2440_CS0 (0x00000000)
20 /* Chip select 1 */
21 #define CPU_S3C2440_CS1 (0x08000000)
22 /* Chip select 2 */
23 #define CPU_S3C2440_CS2 (0x10000000)
24 /* Chip select 3 */
25 #define CPU_S3C2440_CS3 (0x18000000)
26 /* Chip select 4 */
27 #define CPU_S3C2440_CS4 (0x20000000)
28 /* Chip select 5 */
29 #define CPU_S3C2440_CS5 (0x28000000)
30 /* Dynamic RAM */
31 #define CPU_S3C2440_DRAM (0x30000000)
32 /* SOC Integrated peripherals */
33 #define CPU_S3C2440_PERIPHERAL (0x40000000)
35 /* s3c2440 SOC initialisation */
36 S3CState *s3c2440_init(int sdram_size);
38 #endif /* S3C2440_H */