summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-06-27 01:14:21 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-10-17 16:36:11 +0200
commit199c936e37f9ed1944a74b5beb96ea3e87025fbe (patch)
tree03f1e00d3a779391cfdd6d00d1a97320105926e4 /arch/arm/mach-mmp
parentARM: mmp: DT: convert timer driver to use TIMER_OF_DECLARE (diff)
downloadlinux-199c936e37f9ed1944a74b5beb96ea3e87025fbe.tar.xz
linux-199c936e37f9ed1944a74b5beb96ea3e87025fbe.zip
ARM: mmp: define MMP_CHIPID by the means of CIU_REG()
A rather trivial cosmetic improvement. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r--arch/arm/mach-mmp/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/common.c b/arch/arm/mach-mmp/common.c
index 2ee08c78e8bc..24c689a01ecb 100644
--- a/arch/arm/mach-mmp/common.c
+++ b/arch/arm/mach-mmp/common.c
@@ -17,7 +17,7 @@
#include "common.h"
-#define MMP_CHIPID (AXI_VIRT_BASE + 0x82c00)
+#define MMP_CHIPID CIU_REG(0x00)
unsigned int mmp_chip_id;
EXPORT_SYMBOL(mmp_chip_id);