blob: 4c704b4e8b340c9a6482e2c3ec87da15029c67a8 [file] [log] [blame]
Magnus Dammc793c1b2010-02-05 11:14:49 +00001if ARCH_SHMOBILE
2
3comment "SH-Mobile System Type"
4
5config ARCH_SH7367
6 bool "SH-Mobile G3 (SH7367)"
7 select CPU_V6
8 select HAVE_CLK
9 select COMMON_CLKDEV
Magnus Dammc793c1b2010-02-05 11:14:49 +000010 select GENERIC_CLOCKEVENTS
11
Magnus Dammf2aaf662010-02-05 11:15:07 +000012config ARCH_SH7377
13 bool "SH-Mobile G4 (SH7377)"
14 select CPU_V7
15 select HAVE_CLK
16 select COMMON_CLKDEV
Magnus Dammf2aaf662010-02-05 11:15:07 +000017 select GENERIC_CLOCKEVENTS
18
Magnus Damm2b7eda62010-02-05 11:14:58 +000019config ARCH_SH7372
20 bool "SH-Mobile AP4 (SH7372)"
21 select CPU_V7
22 select HAVE_CLK
23 select COMMON_CLKDEV
Magnus Damm2b7eda62010-02-05 11:14:58 +000024 select GENERIC_CLOCKEVENTS
25
Magnus Dammc793c1b2010-02-05 11:14:49 +000026comment "SH-Mobile Board Type"
27
28config MACH_G3EVM
29 bool "G3EVM board"
30 depends on ARCH_SH7367
Magnus Damm7fdda672010-02-10 20:10:55 +090031 select ARCH_REQUIRE_GPIOLIB
Magnus Dammc793c1b2010-02-05 11:14:49 +000032
Magnus Dammf2aaf662010-02-05 11:15:07 +000033config MACH_G4EVM
34 bool "G4EVM board"
35 depends on ARCH_SH7377
NISHIMOTO Hiroki276b4f62010-02-12 08:10:06 +000036 select ARCH_REQUIRE_GPIOLIB
Magnus Dammf2aaf662010-02-05 11:15:07 +000037
Magnus Damm2b7eda62010-02-05 11:14:58 +000038config MACH_AP4EVB
39 bool "AP4EVB board"
40 depends on ARCH_SH7372
Kuninori Morimotob789b3f2010-02-17 09:39:10 +000041 select ARCH_REQUIRE_GPIOLIB
Magnus Damm2b7eda62010-02-05 11:14:58 +000042
Magnus Dammc793c1b2010-02-05 11:14:49 +000043comment "SH-Mobile System Configuration"
44
45menu "Memory configuration"
46
47config MEMORY_START
48 hex "Physical memory start address"
49 default "0x50000000" if MACH_G3EVM
Magnus Dammf2aaf662010-02-05 11:15:07 +000050 default "0x40000000" if MACH_G4EVM
Magnus Damm2b7eda62010-02-05 11:14:58 +000051 default "0x40000000" if MACH_AP4EVB
Magnus Dammc793c1b2010-02-05 11:14:49 +000052 default "0x00000000"
53 ---help---
54 Tweak this only when porting to a new machine which does not
55 already have a defconfig. Changing it from the known correct
56 value on any of the known systems will only lead to disaster.
57
58config MEMORY_SIZE
59 hex "Physical memory size"
60 default "0x08000000" if MACH_G3EVM
Magnus Dammf2aaf662010-02-05 11:15:07 +000061 default "0x08000000" if MACH_G4EVM
Magnus Damm2b7eda62010-02-05 11:14:58 +000062 default "0x10000000" if MACH_AP4EVB
Magnus Dammc793c1b2010-02-05 11:14:49 +000063 default "0x04000000"
64 help
65 This sets the default memory size assumed by your kernel. It can
66 be overridden as normal by the 'mem=' argument on the kernel command
67 line.
68
69endmenu
70
71menu "Timer and clock configuration"
72
Magnus Damm5da3e712010-07-29 14:03:04 +010073config SHMOBILE_TIMER_HZ
74 int "Kernel HZ (jiffies per second)"
75 range 32 1024
76 default "128"
77 help
78 Allows the configuration of the timer frequency. It is customary
79 to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
80 case of low timer frequencies other values may be more suitable.
81 SH-Mobile systems using a 32768 Hz RCLK for clock events may want
82 to select a HZ value such as 128 that can evenly divide RCLK.
83 A HZ value that does not divide evenly may cause timer drift.
84
Magnus Dammc793c1b2010-02-05 11:14:49 +000085config SH_TIMER_CMT
86 bool "CMT timer driver"
87 default y
88 help
89 This enables build of the CMT timer driver.
90
91endmenu
92
93endif