diff options
author | Marc Singer <elf@buici.com> | 2006-05-16 06:41:27 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-18 11:16:44 -0400 |
commit | 2295196c30ea686389519f699f0ccbfbc5c3b94c (patch) | |
tree | 312918803ae8ec19276d7fd6ba1bcfbcdb31ecbf /include/asm-arm/arch-lh7a40x/constants.h | |
parent | 427abfa28afedffadfca9dd8b067eb6d36bac53f (diff) |
[ARM] 3400/1: lpd7a40x: platform headers update
Patch from Marc Singer
Updates to the lpd7a40x platform headers. Includes support for new
architecture, lpd7a400.
Signed-off-by: Marc Singer <elf@buici.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-lh7a40x/constants.h')
-rw-r--r-- | include/asm-arm/arch-lh7a40x/constants.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-arm/arch-lh7a40x/constants.h b/include/asm-arm/arch-lh7a40x/constants.h index 52c1cb9c39c6..2929e891ee03 100644 --- a/include/asm-arm/arch-lh7a40x/constants.h +++ b/include/asm-arm/arch-lh7a40x/constants.h | |||
@@ -29,8 +29,7 @@ | |||
29 | 29 | ||
30 | #if defined (CONFIG_MACH_LPD7A400) || defined (CONFIG_MACH_LPD7A404) | 30 | #if defined (CONFIG_MACH_LPD7A400) || defined (CONFIG_MACH_LPD7A404) |
31 | 31 | ||
32 | # define IOBARRIER_PHYS 0xc0000000 /* Start of SDRAM */ | 32 | # define IOBARRIER_PHYS 0x10000000 /* Second bank, fastest timing */ |
33 | /*# define IOBARRIER_PHYS 0x00000000 */ /* Start of flash */ | ||
34 | # define IOBARRIER_VIRT 0xf0000000 | 33 | # define IOBARRIER_VIRT 0xf0000000 |
35 | # define IOBARRIER_SIZE PAGE_SIZE | 34 | # define IOBARRIER_SIZE PAGE_SIZE |
36 | 35 | ||
@@ -53,6 +52,9 @@ | |||
53 | # define CPLD08_PHYS CPLDX_PHYS (0x08) | 52 | # define CPLD08_PHYS CPLDX_PHYS (0x08) |
54 | # define CPLD08_VIRT CPLDX_VIRT (0x08) | 53 | # define CPLD08_VIRT CPLDX_VIRT (0x08) |
55 | # define CPLD08_SIZE PAGE_SIZE | 54 | # define CPLD08_SIZE PAGE_SIZE |
55 | # define CPLD0A_PHYS CPLDX_PHYS (0x0a) | ||
56 | # define CPLD0A_VIRT CPLDX_VIRT (0x0a) | ||
57 | # define CPLD0A_SIZE PAGE_SIZE | ||
56 | # define CPLD0C_PHYS CPLDX_PHYS (0x0c) | 58 | # define CPLD0C_PHYS CPLDX_PHYS (0x0c) |
57 | # define CPLD0C_VIRT CPLDX_VIRT (0x0c) | 59 | # define CPLD0C_VIRT CPLDX_VIRT (0x0c) |
58 | # define CPLD0C_SIZE PAGE_SIZE | 60 | # define CPLD0C_SIZE PAGE_SIZE |
@@ -84,5 +86,7 @@ | |||
84 | #define XTAL_IN 14745600 /* 14.7456 MHz crystal */ | 86 | #define XTAL_IN 14745600 /* 14.7456 MHz crystal */ |
85 | #define PLL_CLOCK (XTAL_IN * 21) /* 309 MHz PLL clock */ | 87 | #define PLL_CLOCK (XTAL_IN * 21) /* 309 MHz PLL clock */ |
86 | #define MAX_HCLK_KHZ 100000 /* HCLK max limit ~100MHz */ | 88 | #define MAX_HCLK_KHZ 100000 /* HCLK max limit ~100MHz */ |
89 | #define HCLK (99993600) | ||
90 | //#define HCLK (119808000) | ||
87 | 91 | ||
88 | #endif /* __ASM_ARCH_CONSTANTS_H */ | 92 | #endif /* __ASM_ARCH_CONSTANTS_H */ |