summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorAbhimanyu Kapur <abhimany@codeaurora.org>2014-03-05 20:21:45 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:15:55 -0700
commite901e28d560601d5fa52b3c8a58c62f764ec1642 (patch)
treef61a1ef6398b0dc38353a2fcd043335037a089f8 /arch/arm/include
parentf9d0fc3347e8a6a6b7a1be153507476b1bcd9f63 (diff)
ARM/ARM64: Introduce arch_read_hardware_id
Moving towards device tree and arm single binary refering to machine descriptor name for hardware id information under /proc/cpuinfo is not suitable for certain soc vendors. Add a hook for soc vendors to supply a per-soc hardware read method. Change-Id: Ifcccdffa3c0e1e8b5f96837eb1c023e468d4c287 Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org> [satyap: trivial merge conflict resolution and move changes in arch/arm64/kernel from setup.c to cpuinfo.c to align with kernel 4.4] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/system_misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/system_misc.h b/arch/arm/include/asm/system_misc.h
index a3d61ad984af..062c48452148 100644
--- a/arch/arm/include/asm/system_misc.h
+++ b/arch/arm/include/asm/system_misc.h
@@ -21,6 +21,7 @@ extern void (*arm_pm_idle)(void);
#define UDBG_BUS (1 << 4)
extern unsigned int user_debug;
+extern char* (*arch_read_hardware_id)(void);
#endif /* !__ASSEMBLY__ */