blob: a2a0734344a813f997644ecf604216fcf78852bf [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 Damm4f0836b2010-05-20 14:49:28 +000010 select SH_CLK_CPG
Magnus Dammc793c1b2010-02-05 11:14:49 +000011 select GENERIC_CLOCKEVENTS
12
Magnus Dammf2aaf662010-02-05 11:15:07 +000013config ARCH_SH7377
14 bool "SH-Mobile G4 (SH7377)"
15 select CPU_V7
16 select HAVE_CLK
17 select COMMON_CLKDEV
Magnus Dammf2aaf662010-02-05 11:15:07 +000018 select GENERIC_CLOCKEVENTS
19
Magnus Damm2b7eda62010-02-05 11:14:58 +000020config ARCH_SH7372
21 bool "SH-Mobile AP4 (SH7372)"
22 select CPU_V7
23 select HAVE_CLK
24 select COMMON_CLKDEV
Magnus Damm495b3ce2010-05-12 14:21:34 +000025 select SH_CLK_CPG
Magnus Damm2b7eda62010-02-05 11:14:58 +000026 select GENERIC_CLOCKEVENTS
27
Magnus Dammc793c1b2010-02-05 11:14:49 +000028comment "SH-Mobile Board Type"
29
30config MACH_G3EVM
31 bool "G3EVM board"
32 depends on ARCH_SH7367
Magnus Damm7fdda672010-02-10 20:10:55 +090033 select ARCH_REQUIRE_GPIOLIB
Magnus Dammc793c1b2010-02-05 11:14:49 +000034
Magnus Dammf2aaf662010-02-05 11:15:07 +000035config MACH_G4EVM
36 bool "G4EVM board"
37 depends on ARCH_SH7377
NISHIMOTO Hiroki276b4f62010-02-12 08:10:06 +000038 select ARCH_REQUIRE_GPIOLIB
Magnus Dammf2aaf662010-02-05 11:15:07 +000039
Magnus Damm2b7eda62010-02-05 11:14:58 +000040config MACH_AP4EVB
41 bool "AP4EVB board"
42 depends on ARCH_SH7372
Kuninori Morimotob789b3f2010-02-17 09:39:10 +000043 select ARCH_REQUIRE_GPIOLIB
Magnus Damm2b7eda62010-02-05 11:14:58 +000044
Magnus Dammc793c1b2010-02-05 11:14:49 +000045comment "SH-Mobile System Configuration"
46
47menu "Memory configuration"
48
49config MEMORY_START
50 hex "Physical memory start address"
51 default "0x50000000" if MACH_G3EVM
Magnus Dammf2aaf662010-02-05 11:15:07 +000052 default "0x40000000" if MACH_G4EVM
Magnus Damm2b7eda62010-02-05 11:14:58 +000053 default "0x40000000" if MACH_AP4EVB
Magnus Dammc793c1b2010-02-05 11:14:49 +000054 default "0x00000000"
55 ---help---
56 Tweak this only when porting to a new machine which does not
57 already have a defconfig. Changing it from the known correct
58 value on any of the known systems will only lead to disaster.
59
60config MEMORY_SIZE
61 hex "Physical memory size"
62 default "0x08000000" if MACH_G3EVM
Magnus Dammf2aaf662010-02-05 11:15:07 +000063 default "0x08000000" if MACH_G4EVM
Magnus Damm2b7eda62010-02-05 11:14:58 +000064 default "0x10000000" if MACH_AP4EVB
Magnus Dammc793c1b2010-02-05 11:14:49 +000065 default "0x04000000"
66 help
67 This sets the default memory size assumed by your kernel. It can
68 be overridden as normal by the 'mem=' argument on the kernel command
69 line.
70
71endmenu
72
73menu "Timer and clock configuration"
74
75config SH_TIMER_CMT
76 bool "CMT timer driver"
77 default y
78 help
79 This enables build of the CMT timer driver.
80
Magnus Damm645e5222010-05-12 09:03:19 +000081config SH_TIMER_TMU
82 bool "TMU timer driver"
83 default y
84 help
85 This enables build of the TMU timer driver.
86
Magnus Dammc793c1b2010-02-05 11:14:49 +000087endmenu
88
Magnus Damme47bb512010-05-12 14:21:24 +000089config SH_CLK_CPG
90 bool
91
Magnus Dammc793c1b2010-02-05 11:14:49 +000092endif