blob: 06b3b6162ff7de9dff7b480c980fa74141f46df0 [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
10 select GENERIC_TIME
11 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
18 select GENERIC_TIME
19 select GENERIC_CLOCKEVENTS
20
Magnus Damm2b7eda62010-02-05 11:14:58 +000021config ARCH_SH7372
22 bool "SH-Mobile AP4 (SH7372)"
23 select CPU_V7
24 select HAVE_CLK
25 select COMMON_CLKDEV
26 select GENERIC_TIME
27 select GENERIC_CLOCKEVENTS
28
Magnus Dammc793c1b2010-02-05 11:14:49 +000029comment "SH-Mobile Board Type"
30
31config MACH_G3EVM
32 bool "G3EVM board"
33 depends on ARCH_SH7367
34
Magnus Dammf2aaf662010-02-05 11:15:07 +000035config MACH_G4EVM
36 bool "G4EVM board"
37 depends on ARCH_SH7377
38
Magnus Damm2b7eda62010-02-05 11:14:58 +000039config MACH_AP4EVB
40 bool "AP4EVB board"
41 depends on ARCH_SH7372
42
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
73config SH_TIMER_CMT
74 bool "CMT timer driver"
75 default y
76 help
77 This enables build of the CMT timer driver.
78
79endmenu
80
81endif