ARM: mmp: define MMP_CHIPID by the means of CIU_REG()
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 26 Jun 2019 23:14:21 +0000 (01:14 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Thu, 17 Oct 2019 14:36:11 +0000 (16:36 +0200)
A rather trivial cosmetic improvement.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
arch/arm/mach-mmp/common.c

index 2ee08c7..24c689a 100644 (file)
@@ -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);