soc.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * OMAP cpu type detection
  4. *
  5. * Copyright (C) 2004, 2008 Nokia Corporation
  6. *
  7. * Copyright (C) 2009-11 Texas Instruments.
  8. *
  9. * Written by Tony Lindgren <[email protected]>
  10. *
  11. * Added OMAP4/5 specific defines - Santosh Shilimkar<[email protected]>
  12. * Added DRA7xxx specific defines - Sricharan R<[email protected]>
  13. */
  14. #include "omap24xx.h"
  15. #include "omap34xx.h"
  16. #include "omap44xx.h"
  17. #include "ti81xx.h"
  18. #include "am33xx.h"
  19. #include "omap54xx.h"
  20. #ifndef __ASSEMBLY__
  21. #include <linux/bitops.h>
  22. #include <linux/of.h>
  23. /*
  24. * OMAP2+ is always defined as ARCH_MULTIPLATFORM in Kconfig
  25. */
  26. #undef MULTI_OMAP2
  27. #define MULTI_OMAP2
  28. /*
  29. * Omap device type i.e. EMU/HS/TST/GP/BAD
  30. */
  31. #define OMAP2_DEVICE_TYPE_TEST 0
  32. #define OMAP2_DEVICE_TYPE_EMU 1
  33. #define OMAP2_DEVICE_TYPE_SEC 2
  34. #define OMAP2_DEVICE_TYPE_GP 3
  35. #define OMAP2_DEVICE_TYPE_BAD 4
  36. int omap_type(void);
  37. /*
  38. * omap_rev bits:
  39. * SoC id bits (0730, 1510, 1710, 2422...) [31:16]
  40. * SoC revision (See _REV_ defined in cpu.h) [15:08]
  41. * SoC class bits (15xx, 16xx, 24xx, 34xx...) [07:00]
  42. */
  43. unsigned int omap_rev(void);
  44. static inline int soc_is_omap(void)
  45. {
  46. return omap_rev() != 0;
  47. }
  48. /*
  49. * Get the SoC revision for OMAP devices
  50. */
  51. #define GET_OMAP_REVISION() ((omap_rev() >> 8) & 0xff)
  52. /*
  53. * Macros to group OMAP into cpu classes.
  54. * These can be used in most places.
  55. * soc_is_omap24xx(): True for OMAP2420, OMAP2422, OMAP2423, OMAP2430
  56. * soc_is_omap242x(): True for OMAP2420, OMAP2422, OMAP2423
  57. * soc_is_omap243x(): True for OMAP2430
  58. * soc_is_omap343x(): True for OMAP3430
  59. * soc_is_omap443x(): True for OMAP4430
  60. * soc_is_omap446x(): True for OMAP4460
  61. * soc_is_omap447x(): True for OMAP4470
  62. * soc_is_omap543x(): True for OMAP5430, OMAP5432
  63. */
  64. #define GET_OMAP_CLASS (omap_rev() & 0xff)
  65. #define IS_OMAP_CLASS(class, id) \
  66. static inline int is_omap ##class (void) \
  67. { \
  68. return (GET_OMAP_CLASS == (id)) ? 1 : 0; \
  69. }
  70. #define GET_AM_CLASS ((omap_rev() >> 24) & 0xff)
  71. #define IS_AM_CLASS(class, id) \
  72. static inline int is_am ##class (void) \
  73. { \
  74. return (GET_AM_CLASS == (id)) ? 1 : 0; \
  75. }
  76. #define GET_TI_CLASS ((omap_rev() >> 24) & 0xff)
  77. #define IS_TI_CLASS(class, id) \
  78. static inline int is_ti ##class (void) \
  79. { \
  80. return (GET_TI_CLASS == (id)) ? 1 : 0; \
  81. }
  82. #define GET_DRA_CLASS ((omap_rev() >> 24) & 0xff)
  83. #define IS_DRA_CLASS(class, id) \
  84. static inline int is_dra ##class (void) \
  85. { \
  86. return (GET_DRA_CLASS == (id)) ? 1 : 0; \
  87. }
  88. #define GET_OMAP_SUBCLASS ((omap_rev() >> 20) & 0x0fff)
  89. #define IS_OMAP_SUBCLASS(subclass, id) \
  90. static inline int is_omap ##subclass (void) \
  91. { \
  92. return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0; \
  93. }
  94. #define IS_TI_SUBCLASS(subclass, id) \
  95. static inline int is_ti ##subclass (void) \
  96. { \
  97. return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0; \
  98. }
  99. #define IS_AM_SUBCLASS(subclass, id) \
  100. static inline int is_am ##subclass (void) \
  101. { \
  102. return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0; \
  103. }
  104. #define IS_DRA_SUBCLASS(subclass, id) \
  105. static inline int is_dra ##subclass (void) \
  106. { \
  107. return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0; \
  108. }
  109. #define GET_DRA_PACKAGE (omap_rev() & 0xff)
  110. #define IS_DRA_SUBCLASS_PACKAGE(subclass, package, id) \
  111. static inline int is_dra ##subclass ##_ ##package (void) \
  112. { \
  113. return (is_dra ##subclass () && GET_DRA_PACKAGE == id) ? 1 : 0; \
  114. }
  115. IS_OMAP_CLASS(24xx, 0x24)
  116. IS_OMAP_CLASS(34xx, 0x34)
  117. IS_OMAP_CLASS(44xx, 0x44)
  118. IS_AM_CLASS(35xx, 0x35)
  119. IS_OMAP_CLASS(54xx, 0x54)
  120. IS_AM_CLASS(33xx, 0x33)
  121. IS_AM_CLASS(43xx, 0x43)
  122. IS_TI_CLASS(81xx, 0x81)
  123. IS_DRA_CLASS(7xx, 0x7)
  124. IS_OMAP_SUBCLASS(242x, 0x242)
  125. IS_OMAP_SUBCLASS(243x, 0x243)
  126. IS_OMAP_SUBCLASS(343x, 0x343)
  127. IS_OMAP_SUBCLASS(363x, 0x363)
  128. IS_OMAP_SUBCLASS(443x, 0x443)
  129. IS_OMAP_SUBCLASS(446x, 0x446)
  130. IS_OMAP_SUBCLASS(447x, 0x447)
  131. IS_OMAP_SUBCLASS(543x, 0x543)
  132. IS_TI_SUBCLASS(816x, 0x816)
  133. IS_TI_SUBCLASS(814x, 0x814)
  134. IS_AM_SUBCLASS(335x, 0x335)
  135. IS_AM_SUBCLASS(437x, 0x437)
  136. IS_DRA_SUBCLASS(76x, 0x76)
  137. IS_DRA_SUBCLASS_PACKAGE(76x, abz, 2)
  138. IS_DRA_SUBCLASS_PACKAGE(76x, acd, 3)
  139. IS_DRA_SUBCLASS(75x, 0x75)
  140. IS_DRA_SUBCLASS(72x, 0x72)
  141. #define soc_is_ti81xx() 0
  142. #define soc_is_ti816x() 0
  143. #define soc_is_ti814x() 0
  144. #define soc_is_am35xx() 0
  145. #define soc_is_am33xx() 0
  146. #define soc_is_am335x() 0
  147. #define soc_is_am43xx() 0
  148. #define soc_is_am437x() 0
  149. #define soc_is_omap44xx() 0
  150. #define soc_is_omap443x() 0
  151. #define soc_is_omap446x() 0
  152. #define soc_is_omap447x() 0
  153. #define soc_is_omap54xx() 0
  154. #define soc_is_omap543x() 0
  155. #define soc_is_dra7xx() 0
  156. #define soc_is_dra76x() 0
  157. #define soc_is_dra74x() 0
  158. #define soc_is_dra72x() 0
  159. #if defined(CONFIG_ARCH_OMAP2)
  160. # define soc_is_omap24xx() is_omap24xx()
  161. #else
  162. # define soc_is_omap24xx() 0
  163. #endif
  164. #if defined(CONFIG_SOC_OMAP2420)
  165. # define soc_is_omap242x() is_omap242x()
  166. #else
  167. # define soc_is_omap242x() 0
  168. #endif
  169. #if defined(CONFIG_SOC_OMAP2430)
  170. # define soc_is_omap243x() is_omap243x()
  171. #else
  172. # define soc_is_omap243x() 0
  173. #endif
  174. #if defined(CONFIG_ARCH_OMAP3)
  175. # define soc_is_omap34xx() is_omap34xx()
  176. # define soc_is_omap343x() is_omap343x()
  177. #else
  178. # define soc_is_omap34xx() 0
  179. # define soc_is_omap343x() 0
  180. #endif
  181. /*
  182. * Macros to detect individual cpu types.
  183. * These are only rarely needed.
  184. * soc_is_omap2420(): True for OMAP2420
  185. * soc_is_omap2422(): True for OMAP2422
  186. * soc_is_omap2423(): True for OMAP2423
  187. * soc_is_omap2430(): True for OMAP2430
  188. * soc_is_omap3430(): True for OMAP3430
  189. */
  190. #define GET_OMAP_TYPE ((omap_rev() >> 16) & 0xffff)
  191. #define IS_OMAP_TYPE(type, id) \
  192. static inline int is_omap ##type (void) \
  193. { \
  194. return (GET_OMAP_TYPE == (id)) ? 1 : 0; \
  195. }
  196. IS_OMAP_TYPE(2420, 0x2420)
  197. IS_OMAP_TYPE(2422, 0x2422)
  198. IS_OMAP_TYPE(2423, 0x2423)
  199. IS_OMAP_TYPE(2430, 0x2430)
  200. IS_OMAP_TYPE(3430, 0x3430)
  201. #define soc_is_omap2420() 0
  202. #define soc_is_omap2422() 0
  203. #define soc_is_omap2423() 0
  204. #define soc_is_omap2430() 0
  205. #define soc_is_omap3430() 0
  206. #define soc_is_omap3630() 0
  207. #define soc_is_omap5430() 0
  208. /* These are needed for the common code */
  209. #define soc_is_omap7xx() 0
  210. #define soc_is_omap15xx() 0
  211. #define soc_is_omap16xx() 0
  212. #define soc_is_omap1510() 0
  213. #define soc_is_omap1610() 0
  214. #define soc_is_omap1611() 0
  215. #define soc_is_omap1621() 0
  216. #define soc_is_omap1710() 0
  217. #define cpu_class_is_omap1() 0
  218. #define cpu_class_is_omap2() 1
  219. #if defined(CONFIG_ARCH_OMAP2)
  220. # undef soc_is_omap2420
  221. # undef soc_is_omap2422
  222. # undef soc_is_omap2423
  223. # undef soc_is_omap2430
  224. # define soc_is_omap2420() is_omap2420()
  225. # define soc_is_omap2422() is_omap2422()
  226. # define soc_is_omap2423() is_omap2423()
  227. # define soc_is_omap2430() is_omap2430()
  228. #endif
  229. #if defined(CONFIG_ARCH_OMAP3)
  230. # undef soc_is_omap3430
  231. # undef soc_is_ti81xx
  232. # undef soc_is_ti816x
  233. # undef soc_is_ti814x
  234. # undef soc_is_am35xx
  235. # define soc_is_omap3430() is_omap3430()
  236. # undef soc_is_omap3630
  237. # define soc_is_omap3630() is_omap363x()
  238. # define soc_is_ti81xx() is_ti81xx()
  239. # define soc_is_ti816x() is_ti816x()
  240. # define soc_is_ti814x() is_ti814x()
  241. # define soc_is_am35xx() is_am35xx()
  242. #endif
  243. # if defined(CONFIG_SOC_AM33XX)
  244. # undef soc_is_am33xx
  245. # undef soc_is_am335x
  246. # define soc_is_am33xx() is_am33xx()
  247. # define soc_is_am335x() is_am335x()
  248. #endif
  249. #ifdef CONFIG_SOC_AM43XX
  250. # undef soc_is_am43xx
  251. # undef soc_is_am437x
  252. # define soc_is_am43xx() is_am43xx()
  253. # define soc_is_am437x() is_am437x()
  254. #endif
  255. # if defined(CONFIG_ARCH_OMAP4)
  256. # undef soc_is_omap44xx
  257. # undef soc_is_omap443x
  258. # undef soc_is_omap446x
  259. # undef soc_is_omap447x
  260. # define soc_is_omap44xx() is_omap44xx()
  261. # define soc_is_omap443x() is_omap443x()
  262. # define soc_is_omap446x() is_omap446x()
  263. # define soc_is_omap447x() is_omap447x()
  264. # endif
  265. # if defined(CONFIG_SOC_OMAP5)
  266. # undef soc_is_omap54xx
  267. # undef soc_is_omap543x
  268. # define soc_is_omap54xx() is_omap54xx()
  269. # define soc_is_omap543x() is_omap543x()
  270. #endif
  271. #if defined(CONFIG_SOC_DRA7XX)
  272. #undef soc_is_dra7xx
  273. #undef soc_is_dra76x
  274. #undef soc_is_dra76x_abz
  275. #undef soc_is_dra76x_acd
  276. #undef soc_is_dra74x
  277. #undef soc_is_dra72x
  278. #define soc_is_dra7xx() is_dra7xx()
  279. #define soc_is_dra76x() is_dra76x()
  280. #define soc_is_dra76x_abz() is_dra76x_abz()
  281. #define soc_is_dra76x_acd() is_dra76x_acd()
  282. #define soc_is_dra74x() is_dra75x()
  283. #define soc_is_dra72x() is_dra72x()
  284. #endif
  285. /* Various silicon revisions for omap2 */
  286. #define OMAP242X_CLASS 0x24200024
  287. #define OMAP2420_REV_ES1_0 OMAP242X_CLASS
  288. #define OMAP2420_REV_ES2_0 (OMAP242X_CLASS | (0x1 << 8))
  289. #define OMAP243X_CLASS 0x24300024
  290. #define OMAP2430_REV_ES1_0 OMAP243X_CLASS
  291. #define OMAP343X_CLASS 0x34300034
  292. #define OMAP3430_REV_ES1_0 OMAP343X_CLASS
  293. #define OMAP3430_REV_ES2_0 (OMAP343X_CLASS | (0x1 << 8))
  294. #define OMAP3430_REV_ES2_1 (OMAP343X_CLASS | (0x2 << 8))
  295. #define OMAP3430_REV_ES3_0 (OMAP343X_CLASS | (0x3 << 8))
  296. #define OMAP3430_REV_ES3_1 (OMAP343X_CLASS | (0x4 << 8))
  297. #define OMAP3430_REV_ES3_1_2 (OMAP343X_CLASS | (0x5 << 8))
  298. #define OMAP363X_CLASS 0x36300034
  299. #define OMAP3630_REV_ES1_0 OMAP363X_CLASS
  300. #define OMAP3630_REV_ES1_1 (OMAP363X_CLASS | (0x1 << 8))
  301. #define OMAP3630_REV_ES1_2 (OMAP363X_CLASS | (0x2 << 8))
  302. #define TI816X_CLASS 0x81600081
  303. #define TI8168_REV_ES1_0 TI816X_CLASS
  304. #define TI8168_REV_ES1_1 (TI816X_CLASS | (0x1 << 8))
  305. #define TI8168_REV_ES2_0 (TI816X_CLASS | (0x2 << 8))
  306. #define TI8168_REV_ES2_1 (TI816X_CLASS | (0x3 << 8))
  307. #define TI814X_CLASS 0x81400081
  308. #define TI8148_REV_ES1_0 TI814X_CLASS
  309. #define TI8148_REV_ES2_0 (TI814X_CLASS | (0x1 << 8))
  310. #define TI8148_REV_ES2_1 (TI814X_CLASS | (0x2 << 8))
  311. #define AM35XX_CLASS 0x35170034
  312. #define AM35XX_REV_ES1_0 AM35XX_CLASS
  313. #define AM35XX_REV_ES1_1 (AM35XX_CLASS | (0x1 << 8))
  314. #define AM335X_CLASS 0x33500033
  315. #define AM335X_REV_ES1_0 AM335X_CLASS
  316. #define AM335X_REV_ES2_0 (AM335X_CLASS | (0x1 << 8))
  317. #define AM335X_REV_ES2_1 (AM335X_CLASS | (0x2 << 8))
  318. #define AM437X_CLASS 0x43700000
  319. #define AM437X_REV_ES1_0 (AM437X_CLASS | (0x10 << 8))
  320. #define AM437X_REV_ES1_1 (AM437X_CLASS | (0x11 << 8))
  321. #define AM437X_REV_ES1_2 (AM437X_CLASS | (0x12 << 8))
  322. #define OMAP443X_CLASS 0x44300044
  323. #define OMAP4430_REV_ES1_0 (OMAP443X_CLASS | (0x10 << 8))
  324. #define OMAP4430_REV_ES2_0 (OMAP443X_CLASS | (0x20 << 8))
  325. #define OMAP4430_REV_ES2_1 (OMAP443X_CLASS | (0x21 << 8))
  326. #define OMAP4430_REV_ES2_2 (OMAP443X_CLASS | (0x22 << 8))
  327. #define OMAP4430_REV_ES2_3 (OMAP443X_CLASS | (0x23 << 8))
  328. #define OMAP446X_CLASS 0x44600044
  329. #define OMAP4460_REV_ES1_0 (OMAP446X_CLASS | (0x10 << 8))
  330. #define OMAP4460_REV_ES1_1 (OMAP446X_CLASS | (0x11 << 8))
  331. #define OMAP447X_CLASS 0x44700044
  332. #define OMAP4470_REV_ES1_0 (OMAP447X_CLASS | (0x10 << 8))
  333. #define OMAP54XX_CLASS 0x54000054
  334. #define OMAP5430_REV_ES2_0 (OMAP54XX_CLASS | (0x30 << 16) | (0x20 << 8))
  335. #define OMAP5432_REV_ES2_0 (OMAP54XX_CLASS | (0x32 << 16) | (0x20 << 8))
  336. #define DRA7XX_CLASS 0x07000000
  337. #define DRA762_REV_ES1_0 (DRA7XX_CLASS | (0x62 << 16) | (0x10 << 8))
  338. #define DRA762_ABZ_REV_ES1_0 (DRA762_REV_ES1_0 | (2 << 0))
  339. #define DRA762_ACD_REV_ES1_0 (DRA762_REV_ES1_0 | (3 << 0))
  340. #define DRA752_REV_ES1_0 (DRA7XX_CLASS | (0x52 << 16) | (0x10 << 8))
  341. #define DRA752_REV_ES1_1 (DRA7XX_CLASS | (0x52 << 16) | (0x11 << 8))
  342. #define DRA752_REV_ES2_0 (DRA7XX_CLASS | (0x52 << 16) | (0x20 << 8))
  343. #define DRA722_REV_ES1_0 (DRA7XX_CLASS | (0x22 << 16) | (0x10 << 8))
  344. #define DRA722_REV_ES2_0 (DRA7XX_CLASS | (0x22 << 16) | (0x20 << 8))
  345. #define DRA722_REV_ES2_1 (DRA7XX_CLASS | (0x22 << 16) | (0x21 << 8))
  346. void omap2xxx_check_revision(void);
  347. void omap3xxx_check_revision(void);
  348. void omap4xxx_check_revision(void);
  349. void omap5xxx_check_revision(void);
  350. void dra7xxx_check_revision(void);
  351. void omap3xxx_check_features(void);
  352. void ti81xx_check_features(void);
  353. void am33xx_check_features(void);
  354. void omap4xxx_check_features(void);
  355. /*
  356. * Runtime detection of OMAP3 features
  357. *
  358. * OMAP3_HAS_IO_CHAIN_CTRL: Some later members of the OMAP3 chip
  359. * family have OS-level control over the I/O chain clock. This is
  360. * to avoid a window during which wakeups could potentially be lost
  361. * during powerdomain transitions. If this bit is set, it
  362. * indicates that the chip does support OS-level control of this
  363. * feature.
  364. */
  365. extern u32 omap_features;
  366. #define OMAP3_HAS_L2CACHE BIT(0)
  367. #define OMAP3_HAS_IVA BIT(1)
  368. #define OMAP3_HAS_SGX BIT(2)
  369. #define OMAP3_HAS_NEON BIT(3)
  370. #define OMAP3_HAS_ISP BIT(4)
  371. #define OMAP3_HAS_192MHZ_CLK BIT(5)
  372. #define OMAP3_HAS_IO_WAKEUP BIT(6)
  373. #define OMAP3_HAS_SDRC BIT(7)
  374. #define OMAP3_HAS_IO_CHAIN_CTRL BIT(8)
  375. #define OMAP4_HAS_PERF_SILICON BIT(9)
  376. #define OMAP3_HAS_FEATURE(feat,flag) \
  377. static inline unsigned int omap3_has_ ##feat(void) \
  378. { \
  379. return omap_features & OMAP3_HAS_ ##flag; \
  380. } \
  381. OMAP3_HAS_FEATURE(l2cache, L2CACHE)
  382. OMAP3_HAS_FEATURE(sgx, SGX)
  383. OMAP3_HAS_FEATURE(iva, IVA)
  384. OMAP3_HAS_FEATURE(neon, NEON)
  385. OMAP3_HAS_FEATURE(isp, ISP)
  386. OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK)
  387. OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP)
  388. OMAP3_HAS_FEATURE(sdrc, SDRC)
  389. OMAP3_HAS_FEATURE(io_chain_ctrl, IO_CHAIN_CTRL)
  390. /*
  391. * Runtime detection of OMAP4 features
  392. */
  393. #define OMAP4_HAS_FEATURE(feat, flag) \
  394. static inline unsigned int omap4_has_ ##feat(void) \
  395. { \
  396. return omap_features & OMAP4_HAS_ ##flag; \
  397. } \
  398. OMAP4_HAS_FEATURE(perf_silicon, PERF_SILICON)
  399. /*
  400. * We need to make sure omap initcalls don't run when
  401. * multiplatform kernels are booted on other SoCs.
  402. */
  403. #define omap_initcall(level, fn) \
  404. static int __init __used __##fn(void) \
  405. { \
  406. if (!soc_is_omap()) \
  407. return 0; \
  408. return fn(); \
  409. } \
  410. level(__##fn);
  411. #define omap_early_initcall(fn) omap_initcall(early_initcall, fn)
  412. #define omap_core_initcall(fn) omap_initcall(core_initcall, fn)
  413. #define omap_postcore_initcall(fn) omap_initcall(postcore_initcall, fn)
  414. #define omap_arch_initcall(fn) omap_initcall(arch_initcall, fn)
  415. #define omap_subsys_initcall(fn) omap_initcall(subsys_initcall, fn)
  416. #define omap_device_initcall(fn) omap_initcall(device_initcall, fn)
  417. #define omap_late_initcall(fn) omap_initcall(late_initcall, fn)
  418. #define omap_late_initcall_sync(fn) omap_initcall(late_initcall_sync, fn)
  419. /* Legacy defines, these can be removed when users are removed */
  420. #define cpu_is_omap2420() soc_is_omap2420()
  421. #define cpu_is_omap2422() soc_is_omap2422()
  422. #define cpu_is_omap242x() soc_is_omap242x()
  423. #define cpu_is_omap2430() soc_is_omap2430()
  424. #define cpu_is_omap243x() soc_is_omap243x()
  425. #define cpu_is_omap24xx() soc_is_omap24xx()
  426. #define cpu_is_omap3430() soc_is_omap3430()
  427. #define cpu_is_omap343x() soc_is_omap343x()
  428. #define cpu_is_omap34xx() soc_is_omap34xx()
  429. #define cpu_is_omap3630() soc_is_omap3630()
  430. #define cpu_is_omap443x() soc_is_omap443x()
  431. #define cpu_is_omap446x() soc_is_omap446x()
  432. #define cpu_is_omap44xx() soc_is_omap44xx()
  433. #define cpu_is_ti814x() soc_is_ti814x()
  434. #define cpu_is_ti816x() soc_is_ti816x()
  435. #define cpu_is_ti81xx() soc_is_ti81xx()
  436. #endif /* __ASSEMBLY__ */