Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 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 |
Magnus Damm | 4f0836b | 2010-05-20 14:49:28 +0000 | [diff] [blame^] | 10 | select SH_CLK_CPG |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 11 | select GENERIC_CLOCKEVENTS |
| 12 | |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 13 | config ARCH_SH7377 |
| 14 | bool "SH-Mobile G4 (SH7377)" |
| 15 | select CPU_V7 |
| 16 | select HAVE_CLK |
| 17 | select COMMON_CLKDEV |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 18 | select GENERIC_CLOCKEVENTS |
| 19 | |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 20 | config ARCH_SH7372 |
| 21 | bool "SH-Mobile AP4 (SH7372)" |
| 22 | select CPU_V7 |
| 23 | select HAVE_CLK |
| 24 | select COMMON_CLKDEV |
Magnus Damm | 495b3ce | 2010-05-12 14:21:34 +0000 | [diff] [blame] | 25 | select SH_CLK_CPG |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 26 | select GENERIC_CLOCKEVENTS |
| 27 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 28 | comment "SH-Mobile Board Type" |
| 29 | |
| 30 | config MACH_G3EVM |
| 31 | bool "G3EVM board" |
| 32 | depends on ARCH_SH7367 |
Magnus Damm | 7fdda67 | 2010-02-10 20:10:55 +0900 | [diff] [blame] | 33 | select ARCH_REQUIRE_GPIOLIB |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 34 | |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 35 | config MACH_G4EVM |
| 36 | bool "G4EVM board" |
| 37 | depends on ARCH_SH7377 |
NISHIMOTO Hiroki | 276b4f6 | 2010-02-12 08:10:06 +0000 | [diff] [blame] | 38 | select ARCH_REQUIRE_GPIOLIB |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 39 | |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 40 | config MACH_AP4EVB |
| 41 | bool "AP4EVB board" |
| 42 | depends on ARCH_SH7372 |
Kuninori Morimoto | b789b3f | 2010-02-17 09:39:10 +0000 | [diff] [blame] | 43 | select ARCH_REQUIRE_GPIOLIB |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 44 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 45 | comment "SH-Mobile System Configuration" |
| 46 | |
| 47 | menu "Memory configuration" |
| 48 | |
| 49 | config MEMORY_START |
| 50 | hex "Physical memory start address" |
| 51 | default "0x50000000" if MACH_G3EVM |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 52 | default "0x40000000" if MACH_G4EVM |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 53 | default "0x40000000" if MACH_AP4EVB |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 54 | 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 | |
| 60 | config MEMORY_SIZE |
| 61 | hex "Physical memory size" |
| 62 | default "0x08000000" if MACH_G3EVM |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 63 | default "0x08000000" if MACH_G4EVM |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 64 | default "0x10000000" if MACH_AP4EVB |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 65 | 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 | |
| 71 | endmenu |
| 72 | |
| 73 | menu "Timer and clock configuration" |
| 74 | |
| 75 | config SH_TIMER_CMT |
| 76 | bool "CMT timer driver" |
| 77 | default y |
| 78 | help |
| 79 | This enables build of the CMT timer driver. |
| 80 | |
Magnus Damm | 645e522 | 2010-05-12 09:03:19 +0000 | [diff] [blame] | 81 | config SH_TIMER_TMU |
| 82 | bool "TMU timer driver" |
| 83 | default y |
| 84 | help |
| 85 | This enables build of the TMU timer driver. |
| 86 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 87 | endmenu |
| 88 | |
Magnus Damm | e47bb51 | 2010-05-12 14:21:24 +0000 | [diff] [blame] | 89 | config SH_CLK_CPG |
| 90 | bool |
| 91 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 92 | endif |