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 | 0163acf | 2010-05-21 05:19:34 +0000 | [diff] [blame] | 18 | select SH_CLK_CPG |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 19 | select GENERIC_CLOCKEVENTS |
| 20 | |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 21 | config ARCH_SH7372 |
| 22 | bool "SH-Mobile AP4 (SH7372)" |
| 23 | select CPU_V7 |
| 24 | select HAVE_CLK |
| 25 | select COMMON_CLKDEV |
Magnus Damm | 495b3ce | 2010-05-12 14:21:34 +0000 | [diff] [blame] | 26 | select SH_CLK_CPG |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 27 | select GENERIC_CLOCKEVENTS |
| 28 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 29 | comment "SH-Mobile Board Type" |
| 30 | |
| 31 | config MACH_G3EVM |
| 32 | bool "G3EVM board" |
| 33 | depends on ARCH_SH7367 |
Magnus Damm | 7fdda67 | 2010-02-10 20:10:55 +0900 | [diff] [blame] | 34 | select ARCH_REQUIRE_GPIOLIB |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 35 | |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 36 | config MACH_G4EVM |
| 37 | bool "G4EVM board" |
| 38 | depends on ARCH_SH7377 |
NISHIMOTO Hiroki | 276b4f6 | 2010-02-12 08:10:06 +0000 | [diff] [blame] | 39 | select ARCH_REQUIRE_GPIOLIB |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 40 | |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 41 | config MACH_AP4EVB |
| 42 | bool "AP4EVB board" |
| 43 | depends on ARCH_SH7372 |
Kuninori Morimoto | b789b3f | 2010-02-17 09:39:10 +0000 | [diff] [blame] | 44 | select ARCH_REQUIRE_GPIOLIB |
Guennadi Liakhovetski | 8eda2f2 | 2010-05-23 14:04:03 +0000 | [diff] [blame] | 45 | select SH_LCD_MIPI_DSI |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 46 | |
Kuninori Morimoto | 9fa1b7f | 2010-06-04 03:15:09 +0000 | [diff] [blame] | 47 | choice |
| 48 | prompt "AP4EVB LCD panel selection" |
| 49 | default AP4EVB_QHD |
| 50 | depends on MACH_AP4EVB |
| 51 | |
| 52 | config AP4EVB_QHD |
| 53 | bool "MIPI-DSI QHD (960x540)" |
| 54 | |
| 55 | config AP4EVB_WVGA |
| 56 | bool "Parallel WVGA (800x480)" |
| 57 | |
| 58 | endchoice |
| 59 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 60 | comment "SH-Mobile System Configuration" |
| 61 | |
| 62 | menu "Memory configuration" |
| 63 | |
| 64 | config MEMORY_START |
| 65 | hex "Physical memory start address" |
| 66 | default "0x50000000" if MACH_G3EVM |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 67 | default "0x40000000" if MACH_G4EVM |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 68 | default "0x40000000" if MACH_AP4EVB |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 69 | default "0x00000000" |
| 70 | ---help--- |
| 71 | Tweak this only when porting to a new machine which does not |
| 72 | already have a defconfig. Changing it from the known correct |
| 73 | value on any of the known systems will only lead to disaster. |
| 74 | |
| 75 | config MEMORY_SIZE |
| 76 | hex "Physical memory size" |
| 77 | default "0x08000000" if MACH_G3EVM |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 78 | default "0x08000000" if MACH_G4EVM |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 79 | default "0x10000000" if MACH_AP4EVB |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 80 | default "0x04000000" |
| 81 | help |
| 82 | This sets the default memory size assumed by your kernel. It can |
| 83 | be overridden as normal by the 'mem=' argument on the kernel command |
| 84 | line. |
| 85 | |
| 86 | endmenu |
| 87 | |
| 88 | menu "Timer and clock configuration" |
| 89 | |
Magnus Damm | 5da3e71 | 2010-07-29 14:03:04 +0100 | [diff] [blame] | 90 | config SHMOBILE_TIMER_HZ |
| 91 | int "Kernel HZ (jiffies per second)" |
| 92 | range 32 1024 |
| 93 | default "128" |
| 94 | help |
| 95 | Allows the configuration of the timer frequency. It is customary |
| 96 | to have the timer interrupt run at 1000 Hz or 100 Hz, but in the |
| 97 | case of low timer frequencies other values may be more suitable. |
| 98 | SH-Mobile systems using a 32768 Hz RCLK for clock events may want |
| 99 | to select a HZ value such as 128 that can evenly divide RCLK. |
| 100 | A HZ value that does not divide evenly may cause timer drift. |
| 101 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 102 | config SH_TIMER_CMT |
| 103 | bool "CMT timer driver" |
| 104 | default y |
| 105 | help |
| 106 | This enables build of the CMT timer driver. |
| 107 | |
Magnus Damm | 645e522 | 2010-05-12 09:03:19 +0000 | [diff] [blame] | 108 | config SH_TIMER_TMU |
| 109 | bool "TMU timer driver" |
| 110 | default y |
| 111 | help |
| 112 | This enables build of the TMU timer driver. |
| 113 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 114 | endmenu |
| 115 | |
Magnus Damm | e47bb51 | 2010-05-12 14:21:24 +0000 | [diff] [blame] | 116 | config SH_CLK_CPG |
| 117 | bool |
| 118 | |
Paul Mundt | be8cb58 | 2010-11-01 11:38:06 -0400 | [diff] [blame^] | 119 | source "drivers/sh/Kconfig" |
| 120 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 121 | endif |