Fabio Estevam | 87d8733 | 2014-01-26 15:06:40 -0200 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2014 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #define MXC_CPU_MX51 0x51 |
| 8 | #define MXC_CPU_MX53 0x53 |
| 9 | #define MXC_CPU_MX6SL 0x60 |
| 10 | #define MXC_CPU_MX6DL 0x61 |
Fabio Estevam | 712ab88 | 2014-06-24 17:40:58 -0300 | [diff] [blame] | 11 | #define MXC_CPU_MX6SX 0x62 |
Fabio Estevam | 87d8733 | 2014-01-26 15:06:40 -0200 | [diff] [blame] | 12 | #define MXC_CPU_MX6Q 0x63 |
Peng Fan | eaa53a1 | 2015-07-20 19:28:21 +0800 | [diff] [blame^] | 13 | #define MXC_CPU_MX6UL 0x64 |
Fabio Estevam | 712ab88 | 2014-06-24 17:40:58 -0300 | [diff] [blame] | 14 | #define MXC_CPU_MX6SOLO 0x65 /* dummy ID */ |
Peng Fan | eaa53a1 | 2015-07-20 19:28:21 +0800 | [diff] [blame^] | 15 | #define MXC_CPU_MX6D 0x67 |
Peng Fan | 5f24792 | 2015-07-11 11:38:42 +0800 | [diff] [blame] | 16 | #define MXC_CPU_MX6DP 0x68 |
| 17 | #define MXC_CPU_MX6QP 0x69 |
Fabio Estevam | 16e65f6 | 2014-11-14 11:27:21 -0200 | [diff] [blame] | 18 | |
| 19 | #define CS0_128 0 |
| 20 | #define CS0_64M_CS1_64M 1 |
| 21 | #define CS0_64M_CS1_32M_CS2_32M 2 |
| 22 | #define CS0_32M_CS1_32M_CS2_32M_CS3_32M 3 |
Eric Nelson | 25e0230 | 2015-02-15 14:37:21 -0700 | [diff] [blame] | 23 | |
| 24 | u32 get_imx_reset_cause(void); |