diff options
author | Tom Rini <trini@ti.com> | 2011-11-18 12:47:58 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-06 22:59:37 (GMT) |
commit | b7eb9e7895bf481d979d58d5d7a53033c3ad9a8f (patch) | |
tree | 2521afc99574337a9c8d40e15cfeca0bc3aed98a /arch/arm/include/asm/arch-omap3 | |
parent | b609009801b8a00644926f49b7d0d0cc0d3d8797 (diff) | |
download | u-boot-fsl-qoriq-b7eb9e7895bf481d979d58d5d7a53033c3ad9a8f.tar.xz |
omap3: mem: Comment enable_gpmc_cs_config more
Expand the "enable the config" comment to explain what the bit shifts
are and define out two of the magic numbers.
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/mem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/mem.h b/arch/arm/include/asm/arch-omap3/mem.h index db6a696..abf4e82 100644 --- a/arch/arm/include/asm/arch-omap3/mem.h +++ b/arch/arm/include/asm/arch-omap3/mem.h @@ -259,6 +259,10 @@ enum { #define GPMC_SIZE_32M 0xE #define GPMC_SIZE_16M 0xF +#define GPMC_BASEADDR_MASK 0x3F + +#define GPMC_CS_ENABLE 0x1 + #define SMNAND_GPMC_CONFIG1 0x00000800 #define SMNAND_GPMC_CONFIG2 0x00141400 #define SMNAND_GPMC_CONFIG3 0x00141400 |