mxc.h (c25141062a82ae8bddced1b3ce2b57a1c0efabe0) | mxc.h (dee5dee2a5b285d20f55a4758d3a51349691eeea) |
---|---|
1/* 2 * Copyright 2004-2007, 2010-2015 Freescale Semiconductor, Inc. 3 * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. --- 26 unchanged lines hidden (view full) --- 35#define MXC_CPU_MX51 51 36#define MXC_CPU_MX53 53 37#define MXC_CPU_IMX6SL 0x60 38#define MXC_CPU_IMX6DL 0x61 39#define MXC_CPU_IMX6SX 0x62 40#define MXC_CPU_IMX6Q 0x63 41#define MXC_CPU_IMX6UL 0x64 42#define MXC_CPU_IMX6ULL 0x65 | 1/* 2 * Copyright 2004-2007, 2010-2015 Freescale Semiconductor, Inc. 3 * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. --- 26 unchanged lines hidden (view full) --- 35#define MXC_CPU_MX51 51 36#define MXC_CPU_MX53 53 37#define MXC_CPU_IMX6SL 0x60 38#define MXC_CPU_IMX6DL 0x61 39#define MXC_CPU_IMX6SX 0x62 40#define MXC_CPU_IMX6Q 0x63 41#define MXC_CPU_IMX6UL 0x64 42#define MXC_CPU_IMX6ULL 0x65 |
43#define MXC_CPU_IMX6SLL 0x67 |
|
43#define MXC_CPU_IMX7D 0x72 44 45#define IMX_DDR_TYPE_LPDDR2 1 46 47#ifndef __ASSEMBLY__ 48extern unsigned int __mxc_cpu_type; 49 50#ifdef CONFIG_SOC_IMX6SL --- 23 unchanged lines hidden (view full) --- 74 return __mxc_cpu_type == MXC_CPU_IMX6UL; 75} 76 77static inline bool cpu_is_imx6ull(void) 78{ 79 return __mxc_cpu_type == MXC_CPU_IMX6ULL; 80} 81 | 44#define MXC_CPU_IMX7D 0x72 45 46#define IMX_DDR_TYPE_LPDDR2 1 47 48#ifndef __ASSEMBLY__ 49extern unsigned int __mxc_cpu_type; 50 51#ifdef CONFIG_SOC_IMX6SL --- 23 unchanged lines hidden (view full) --- 75 return __mxc_cpu_type == MXC_CPU_IMX6UL; 76} 77 78static inline bool cpu_is_imx6ull(void) 79{ 80 return __mxc_cpu_type == MXC_CPU_IMX6ULL; 81} 82 |
83static inline bool cpu_is_imx6sll(void) 84{ 85 return __mxc_cpu_type == MXC_CPU_IMX6SLL; 86} 87 |
|
82static inline bool cpu_is_imx6q(void) 83{ 84 return __mxc_cpu_type == MXC_CPU_IMX6Q; 85} 86 87static inline bool cpu_is_imx7d(void) 88{ 89 return __mxc_cpu_type == MXC_CPU_IMX7D; --- 17 unchanged lines hidden --- | 88static inline bool cpu_is_imx6q(void) 89{ 90 return __mxc_cpu_type == MXC_CPU_IMX6Q; 91} 92 93static inline bool cpu_is_imx7d(void) 94{ 95 return __mxc_cpu_type == MXC_CPU_IMX7D; --- 17 unchanged lines hidden --- |