diff options
| author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-06-07 07:02:52 +0000 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-07-04 10:55:26 +0200 | 
| commit | a6e961c2923ec7a5351c16cd202d9376e44eaa3b (patch) | |
| tree | 8b26b8084b4ca248ec88e8c248f94485470d53c3 /arch/arm/include/asm/arch-mx5/imx-regs.h | |
| parent | a682b3f76bf441e7ccafa402b60ca30bc62751df (diff) | |
| download | olio-uboot-2014.01-a6e961c2923ec7a5351c16cd202d9376e44eaa3b.tar.xz olio-uboot-2014.01-a6e961c2923ec7a5351c16cd202d9376e44eaa3b.zip | |
MX5: Introduce a function for setting the chip select size
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx5/imx-regs.h')
| -rw-r--r-- | arch/arm/include/asm/arch-mx5/imx-regs.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h index 1dac6fa14..9589a62a1 100644 --- a/arch/arm/include/asm/arch-mx5/imx-regs.h +++ b/arch/arm/include/asm/arch-mx5/imx-regs.h @@ -214,6 +214,11 @@  #define WDOG_EN		(1 << 8)  #define WDOG_LIMIT(x)	(((x) & 0x3) << 9) +#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 +  /*   * Number of GPIO pins per port   */ |