Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Marek Vasut | f7d4f36 | 2011-11-26 11:17:09 +0100 | [diff] [blame] | 2 | /* |
| 3 | * PXA common functions |
| 4 | * |
| 5 | * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com> |
Marek Vasut | f7d4f36 | 2011-11-26 11:17:09 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __PXA_H__ |
| 9 | #define __PXA_H__ |
| 10 | |
Lukasz Dalek | 14d3141 | 2012-10-03 00:51:06 +0200 | [diff] [blame] | 11 | #define PXA255_A0 0x00000106 |
| 12 | #define PXA250_C0 0x00000105 |
| 13 | #define PXA250_B2 0x00000104 |
| 14 | #define PXA250_B1 0x00000103 |
| 15 | #define PXA250_B0 0x00000102 |
| 16 | #define PXA250_A1 0x00000101 |
| 17 | #define PXA250_A0 0x00000100 |
| 18 | #define PXA210_C0 0x00000125 |
| 19 | #define PXA210_B2 0x00000124 |
| 20 | #define PXA210_B1 0x00000123 |
| 21 | #define PXA210_B0 0x00000122 |
| 22 | |
Marek Vasut | f7d4f36 | 2011-11-26 11:17:09 +0100 | [diff] [blame] | 23 | int cpu_is_pxa25x(void); |
| 24 | int cpu_is_pxa27x(void); |
Lukasz Dalek | 14d3141 | 2012-10-03 00:51:06 +0200 | [diff] [blame] | 25 | uint32_t pxa_get_cpu_revision(void); |
Marek Vasut | 08341be | 2011-11-26 11:18:57 +0100 | [diff] [blame] | 26 | void pxa2xx_dram_init(void); |
Marek Vasut | f7d4f36 | 2011-11-26 11:17:09 +0100 | [diff] [blame] | 27 | |
| 28 | #endif /* __PXA_H__ */ |