diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-05 13:59:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-06 09:39:22 +0100 |
commit | edd34f73a78300277237c1ebb276cb6e01081ad2 (patch) | |
tree | 66ee71583205f6a58a73f07fe512db8f799a2796 /arch/arm/mach-at91 | |
parent | f3e537c20c3af5d37704640c15b6cb70140ba55e (diff) | |
download | barebox-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.h | 1 |
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 */ |