ARM: mach-shmobile: sh7372 clock framework support V2
[pandora-kernel.git] / arch / arm / mach-shmobile / Kconfig
1 if ARCH_SHMOBILE
2
3 comment "SH-Mobile System Type"
4
5 config ARCH_SH7367
6         bool "SH-Mobile G3 (SH7367)"
7         select CPU_V6
8         select HAVE_CLK
9         select COMMON_CLKDEV
10         select GENERIC_CLOCKEVENTS
11
12 config ARCH_SH7377
13         bool "SH-Mobile G4 (SH7377)"
14         select CPU_V7
15         select HAVE_CLK
16         select COMMON_CLKDEV
17         select GENERIC_CLOCKEVENTS
18
19 config ARCH_SH7372
20         bool "SH-Mobile AP4 (SH7372)"
21         select CPU_V7
22         select HAVE_CLK
23         select COMMON_CLKDEV
24         select SH_CLK_CPG
25         select GENERIC_CLOCKEVENTS
26
27 comment "SH-Mobile Board Type"
28
29 config MACH_G3EVM
30         bool "G3EVM board"
31         depends on ARCH_SH7367
32         select ARCH_REQUIRE_GPIOLIB
33
34 config MACH_G4EVM
35         bool "G4EVM board"
36         depends on ARCH_SH7377
37         select ARCH_REQUIRE_GPIOLIB
38
39 config MACH_AP4EVB
40         bool "AP4EVB board"
41         depends on ARCH_SH7372
42         select ARCH_REQUIRE_GPIOLIB
43
44 comment "SH-Mobile System Configuration"
45
46 menu "Memory configuration"
47
48 config MEMORY_START
49         hex "Physical memory start address"
50         default "0x50000000" if MACH_G3EVM
51         default "0x40000000" if MACH_G4EVM
52         default "0x40000000" if MACH_AP4EVB
53         default "0x00000000"
54         ---help---
55           Tweak this only when porting to a new machine which does not
56           already have a defconfig. Changing it from the known correct
57           value on any of the known systems will only lead to disaster.
58
59 config MEMORY_SIZE
60         hex "Physical memory size"
61         default "0x08000000" if MACH_G3EVM
62         default "0x08000000" if MACH_G4EVM
63         default "0x10000000" if MACH_AP4EVB
64         default "0x04000000"
65         help
66           This sets the default memory size assumed by your kernel. It can
67           be overridden as normal by the 'mem=' argument on the kernel command
68           line.
69
70 endmenu
71
72 menu "Timer and clock configuration"
73
74 config SH_TIMER_CMT
75         bool "CMT timer driver"
76         default y
77         help
78           This enables build of the CMT timer driver.
79
80 config SH_TIMER_TMU
81         bool "TMU timer driver"
82         default y
83         help
84           This enables build of the TMU timer driver.
85
86 endmenu
87
88 config SH_CLK_CPG
89         bool
90
91 endif