.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/arch/arm/mach-omap2/clock.c |
---|
3 | 4 | * |
---|
.. | .. |
---|
7 | 8 | * Contacts: |
---|
8 | 9 | * Richard Woodruff <r-woodruff2@ti.com> |
---|
9 | 10 | * Paul Walmsley |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License version 2 as |
---|
13 | | - * published by the Free Software Foundation. |
---|
14 | 11 | */ |
---|
15 | 12 | #undef DEBUG |
---|
16 | 13 | |
---|
.. | .. |
---|
119 | 116 | if (cpu_is_omap343x()) |
---|
120 | 117 | features.flags |= TI_CLK_DPLL_HAS_FREQSEL; |
---|
121 | 118 | |
---|
| 119 | + if (omap_type() == OMAP2_DEVICE_TYPE_GP) |
---|
| 120 | + features.flags |= TI_CLK_DEVICE_TYPE_GP; |
---|
| 121 | + |
---|
122 | 122 | /* Idlest value for interface clocks. |
---|
123 | 123 | * 24xx uses 0 to indicate not ready, and 1 to indicate ready. |
---|
124 | 124 | * 34xx reverses this, just to keep us on our toes |
---|