Srinidhi Kasagar | 59b559d | 2009-11-12 06:20:54 +0100 | [diff] [blame] | 1 | # We keep common IP's here for Nomadik and other similar |
| 2 | # familiy of processors from ST-Ericsson. At the moment we have |
| 3 | # just MTU, others to follow soon. |
| 4 | |
| 5 | config PLAT_NOMADIK |
| 6 | bool |
Srinidhi Kasagar | e3fd174 | 2009-11-28 08:22:58 +0100 | [diff] [blame] | 7 | depends on ARCH_NOMADIK || ARCH_U8500 |
Russell King | bfe45e0 | 2011-05-08 15:33:30 +0100 | [diff] [blame] | 8 | select CLKSRC_MMIO |
Srinidhi Kasagar | 59b559d | 2009-11-12 06:20:54 +0100 | [diff] [blame] | 9 | default y |
| 10 | help |
| 11 | Common platform code for Nomadik and other ST-Ericsson |
| 12 | platforms. |
| 13 | |
| 14 | if PLAT_NOMADIK |
| 15 | |
| 16 | config HAS_MTU |
| 17 | bool |
| 18 | help |
| 19 | Support for Multi Timer Unit. MTU provides access |
| 20 | to multiple interrupt generating programmable |
| 21 | 32-bit free running decrementing counters. |
| 22 | |
Mattias Wallin | cba1383 | 2011-05-27 10:29:25 +0200 | [diff] [blame] | 23 | config NOMADIK_MTU_SCHED_CLOCK |
| 24 | bool |
| 25 | depends on HAS_MTU |
| 26 | select HAVE_SCHED_CLOCK |
| 27 | help |
| 28 | Use the Multi Timer Unit as the sched_clock. |
| 29 | |
Srinidhi Kasagar | 59b559d | 2009-11-12 06:20:54 +0100 | [diff] [blame] | 30 | endif |