diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-04-15 19:04:19 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-17 12:04:36 -0400 |
commit | c63fc13f806b11576e8c41969d4b1598dd261d80 (patch) | |
tree | 9bdc2a7fbe15faaf7273ebece8ab00eac2e56b6c | |
parent | 05dda977f2574c3341abef9b74c27d2b362e1e3a (diff) |
[ARM] 4983/1: S3C2412: Add initial memory controller registers
Add initial defines for the S3C2412's memory controller registers.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | include/asm-arm/arch-s3c2410/regs-s3c2412-mem.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/regs-s3c2412-mem.h b/include/asm-arm/arch-s3c2410/regs-s3c2412-mem.h new file mode 100644 index 000000000000..c8c793e78936 --- /dev/null +++ b/include/asm-arm/arch-s3c2410/regs-s3c2412-mem.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* linux/include/asm-arm/arch-s3c2410/regs-s3c2412-mem.h | ||
2 | * | ||
3 | * Copyright (c) 2008 Simtec Electronics | ||
4 | * Ben Dooks <ben@simtec.co.uk> | ||
5 | * http://armlinux.simtec.co.uk/ | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * S3C2412 memory register definitions | ||
12 | */ | ||
13 | |||
14 | #ifndef __ASM_ARM_REGS_S3C2412_MEM | ||
15 | #define __ASM_ARM_REGS_S3C2412_MEM | ||
16 | |||
17 | #ifndef S3C2412_MEMREG | ||
18 | #define S3C2412_MEMREG(x) (S3C24XX_VA_MEMCTRL + (x)) | ||
19 | #endif | ||
20 | |||
21 | #define S3C2412_BANKCFG S3C2412_MEMREG(0x00) | ||
22 | #define S3C2412_BANKCON1 S3C2412_MEMREG(0x04) | ||
23 | #define S3C2412_BANKCON2 S3C2412_MEMREG(0x08) | ||
24 | #define S3C2412_BANKCON3 S3C2412_MEMREG(0x0C) | ||
25 | |||
26 | #define S3C2412_REFRESH S3C2412_MEMREG(0x10) | ||
27 | #define S3C2412_TIMEOUT S3C2412_MEMREG(0x14) | ||
28 | |||
29 | #endif /* __ASM_ARM_REGS_S3C2412_MEM */ | ||