summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-imx
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-14 11:27:21 -0200
committerStefano Babic <sbabic@denx.de>2014-11-20 10:30:19 +0100
commit32c81ea65cc01103d3a615072690e7b5faf76656 (patch)
tree4b269b8ad31dbfa8136cd3f63cf2019bd1620868 /arch/arm/include/asm/arch-imx
parent53b7f18044c44e7f3ea0ee10bb4cd775df3aaa3c (diff)
downloadtalos-obmc-uboot-32c81ea65cc01103d3a615072690e7b5faf76656.tar.gz
talos-obmc-uboot-32c81ea65cc01103d3a615072690e7b5faf76656.zip
imx: consolidate set_chipselect_size function
Move MX5 specific set_chipselect_size function into generic i.MX part, such that MX6 based boards are able to use this function as well. While doing this the iomuxc gpr member needed to be consolidated between MX5 and MX6. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-imx')
-rw-r--r--arch/arm/include/asm/arch-imx/cpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx/cpu.h b/arch/arm/include/asm/arch-imx/cpu.h
index a3cc96f39b..254136e228 100644
--- a/arch/arm/include/asm/arch-imx/cpu.h
+++ b/arch/arm/include/asm/arch-imx/cpu.h
@@ -12,3 +12,8 @@
#define MXC_CPU_MX6Q 0x63
#define MXC_CPU_MX6D 0x64
#define MXC_CPU_MX6SOLO 0x65 /* dummy ID */
+
+#define CS0_128 0
+#define CS0_64M_CS1_64M 1
+#define CS0_64M_CS1_32M_CS2_32M 2
+#define CS0_32M_CS1_32M_CS2_32M_CS3_32M 3
OpenPOWER on IntegriCloud