summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorErik van Luijk <evanluijk@interact.nl>2015-08-13 15:43:20 +0200
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-08-21 15:47:03 +0200
commitc982f6b9bf7815633640d95ed6f0deb55cfdcde5 (patch)
tree326e11936c417b7cbd5ba1944c4934e1d5020274 /arch/arm/mach-at91
parent6560491fe5acd2f150853efdd5d9bd714a93374c (diff)
downloadtalos-obmc-uboot-c982f6b9bf7815633640d95ed6f0deb55cfdcde5.tar.gz
talos-obmc-uboot-c982f6b9bf7815633640d95ed6f0deb55cfdcde5.zip
arm: at91: pmc: replace the constant with a define in at91_pmc.h
To enable the clocks on the at91 boards a constant (0x4) is used. This is replaced with a define in at91_pmc.h (1 << 2). Signed-off-by: Erik van Luijk <evanluijk@interact.nl> Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/include/mach/at91_pmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h b/arch/arm/mach-at91/include/mach/at91_pmc.h
index ebb7decd22..8a3fb942f7 100644
--- a/arch/arm/mach-at91/include/mach/at91_pmc.h
+++ b/arch/arm/mach-at91/include/mach/at91_pmc.h
@@ -158,6 +158,7 @@ typedef struct at91_pmc {
#define AT91_PMC_PCK (1 << 0) /* Processor Clock */
#define AT91RM9200_PMC_UDP (1 << 1) /* USB Devcice Port Clock [AT91RM9200 only] */
+#define AT91_PMC_DDR (1 << 2) /* DDR Clock */
#define AT91RM9200_PMC_MCKUDP (1 << 2) /* USB Device Port Master Clock Automatic Disable on Suspend [AT91RM9200 only] */
#define AT91RM9200_PMC_UHP (1 << 4) /* USB Host Port Clock [AT91RM9200 only] */
#define AT91SAM926x_PMC_UHP (1 << 6) /* USB Host Port Clock [AT91SAM926x only] */
OpenPOWER on IntegriCloud