Fix some compiler warnings related to format strings
[qemu/ar7.git] / hw / arm / s3c2410x.h
blobf21bf9c5b685351c6a5915f410f5f0a765063eb1
1 /* hw/s3c2410x.h
3 * Samsung s3c2410x cpu register definitions
5 * Copyright 2006, 2007, 2008 Daniel Silverstone and Vincent Sanders
7 * This file is under the terms of the GNU General Public
8 * License Version 2.
9 */
11 #ifndef S3C2410X_H
12 #define S3C2410X_H 1
14 #include "s3c24xx.h"
16 /* S3C2410 Physical memory areas */
18 /* Chip select 0, Read only, not wired for write */
19 #define CPU_S3C2410X_CS0 (0x00000000)
20 /* Chip select 1 */
21 #define CPU_S3C2410X_CS1 (0x08000000)
22 /* Chip select 2 */
23 #define CPU_S3C2410X_CS2 (0x10000000)
24 /* Chip select 3 */
25 #define CPU_S3C2410X_CS3 (0x18000000)
26 /* Chip select 4 */
27 #define CPU_S3C2410X_CS4 (0x20000000)
28 /* Chip select 5 */
29 #define CPU_S3C2410X_CS5 (0x28000000)
30 /* Dynamic RAM */
31 #define CPU_S3C2410X_DRAM (0x30000000)
32 /* SOC Internal peripherals */
33 #define CPU_S3C2410X_PERIPHERAL (0x40000000)
35 /* s3c2410 SOC initialisation */
36 S3CState *s3c2410x_init(int sdram_size);
38 #endif /* S3C2410X_H */