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