blob: d759aea6003f46f0a3274e50a0d65a49c64b4ddb [file] [log] [blame]
Marek Vasutf7d4f362011-11-26 11:17:09 +01001/*
2 * PXA common functions
3 *
4 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
5 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Marek Vasutf7d4f362011-11-26 11:17:09 +01007 */
8
9#ifndef __PXA_H__
10#define __PXA_H__
11
Lukasz Dalek14d31412012-10-03 00:51:06 +020012#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 Vasutf7d4f362011-11-26 11:17:09 +010024int cpu_is_pxa25x(void);
25int cpu_is_pxa27x(void);
Lukasz Dalek14d31412012-10-03 00:51:06 +020026uint32_t pxa_get_cpu_revision(void);
Marek Vasut08341be2011-11-26 11:18:57 +010027void pxa2xx_dram_init(void);
Marek Vasutf7d4f362011-11-26 11:17:09 +010028
29#endif /* __PXA_H__ */