summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-11-05 13:59:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-06 09:39:22 +0100
commitedd34f73a78300277237c1ebb276cb6e01081ad2 (patch)
tree66ee71583205f6a58a73f07fe512db8f799a2796 /arch/arm/mach-at91
parentf3e537c20c3af5d37704640c15b6cb70140ba55e (diff)
downloadbarebox-edd34f73a78300277237c1ebb276cb6e01081ad2.tar.gz
barebox-edd34f73a78300277237c1ebb276cb6e01081ad2.tar.xz
ARM: at91rm9200ek: use plain readl/writel for pmc accesses
at91_pmc_write() needs a compile time base address, so rather use plain read/writel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/include/mach/at91rm9200.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/at91rm9200.h b/arch/arm/mach-at91/include/mach/at91rm9200.h
index d06dfa7388..e2af3585af 100644
--- a/arch/arm/mach-at91/include/mach/at91rm9200.h
+++ b/arch/arm/mach-at91/include/mach/at91rm9200.h
@@ -84,6 +84,7 @@
#define AT91RM9200_BASE_PIOB 0xfffff600 /* PIO Controller B */
#define AT91RM9200_BASE_PIOC 0xfffff800 /* PIO Controller C */
#define AT91RM9200_BASE_PIOD 0xfffffa00 /* PIO Controller D */
+#define AT91RM9200_BASE_PMC 0xfffffc00
#define AT91RM9200_BASE_ST 0xfffffd00 /* System Timer */
#define AT91RM9200_BASE_RTC 0xfffffe00 /* Real-Time Clock */
#define AT91RM9200_BASE_MC 0xffffff00 /* Memory Controllers */