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