summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mmp
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-06-27 02:14:21 +0300
committerLubomir Rintel <lkundrak@v3.sk>2019-10-17 17:36:11 +0300
commit199c936e37f9ed1944a74b5beb96ea3e87025fbe (patch)
tree03f1e00d3a779391cfdd6d00d1a97320105926e4 /arch/arm/mach-mmp
parent1732050f48a384fbe101b8586ed42caf874816eb (diff)
downloadlinux-199c936e37f9ed1944a74b5beb96ea3e87025fbe.tar.xz
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);