diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-01-26 15:06:40 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-02-11 11:24:11 +0100 |
commit | 6a99f03d696ee51e584a9c95b9fb065ebf0d46b4 (patch) | |
tree | 983384b3764c2e56e57c80ba559c4afbc66db43e /arch/arm/include/asm/arch-mx6 | |
parent | c0da86225fb501eea26318e7f3760cdee25ee83d (diff) | |
download | u-boot-imx-6a99f03d696ee51e584a9c95b9fb065ebf0d46b4.zip u-boot-imx-6a99f03d696ee51e584a9c95b9fb065ebf0d46b4.tar.gz u-boot-imx-6a99f03d696ee51e584a9c95b9fb065ebf0d46b4.tar.bz2 |
imx: Introduce a header for the imx cpu versions
Instead of duplicating the CPU definitions at mx5 and mx6 sys_proto.h header
files, introduce a common header to centralize such definitions.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/sys_proto.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index 17125a6..38851a1 100644 --- a/arch/arm/include/asm/arch-mx6/sys_proto.h +++ b/arch/arm/include/asm/arch-mx6/sys_proto.h @@ -9,13 +9,7 @@ #define _SYS_PROTO_H_ #include <asm/imx-common/regs-common.h> - -#define MXC_CPU_MX51 0x51 -#define MXC_CPU_MX53 0x53 -#define MXC_CPU_MX6SL 0x60 -#define MXC_CPU_MX6DL 0x61 -#define MXC_CPU_MX6SOLO 0x62 -#define MXC_CPU_MX6Q 0x63 +#include "../arch-imx/cpu.h" #define is_soc_rev(rev) ((get_cpu_rev() & 0xFF) - rev) u32 get_cpu_rev(void); |