summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/setup.c
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:02:39 -0700
commit0f238241f212f182725195beabd91f8044b323d4 (patch)
tree5d65923f8e162b6dbe53f6261ccf79056af57c71 /arch/arm64/kernel/setup.c
parentb6b338fcc5c46a0d229742d977667e3b82915811 (diff)
ARM64: Introduce arch_read_hardware_id
Moving towards device tree and arm single binary referring 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. [abhimany: resolved minor merge conflicts] Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org> Conflicts: arch/arm64/kernel/setup.c Change-Id: I6c38a0c0dbf93acec6f6f67498c01c046a13e506
Diffstat (limited to 'arch/arm64/kernel/setup.c')
-rw-r--r--arch/arm64/kernel/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index a446dd967e7c..99553b164f25 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -70,6 +70,9 @@ EXPORT_SYMBOL(boot_reason);
unsigned int cold_boot;
EXPORT_SYMBOL(cold_boot);
+char* (*arch_read_hardware_id)(void);
+EXPORT_SYMBOL(arch_read_hardware_id);
+
static const char *machine_name;
phys_addr_t __fdt_pointer __initdata;