blob: bca4914b4b9dab344f19c6fd6eb84a084e91030d [file] [log] [blame]
Srinidhi Kasagar59b559d2009-11-12 06:20:54 +01001# 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
5config PLAT_NOMADIK
6 bool
Srinidhi Kasagare3fd1742009-11-28 08:22:58 +01007 depends on ARCH_NOMADIK || ARCH_U8500
Russell Kingbfe45e02011-05-08 15:33:30 +01008 select CLKSRC_MMIO
Srinidhi Kasagar59b559d2009-11-12 06:20:54 +01009 default y
10 help
11 Common platform code for Nomadik and other ST-Ericsson
12 platforms.
13
14if PLAT_NOMADIK
15
16config 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 Wallincba13832011-05-27 10:29:25 +020023config 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 Kasagar59b559d2009-11-12 06:20:54 +010030endif