diff options
author | Abhimanyu Kapur <abhimany@codeaurora.org> | 2014-03-05 20:21:45 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:02:39 -0700 |
commit | 0f238241f212f182725195beabd91f8044b323d4 (patch) | |
tree | 5d65923f8e162b6dbe53f6261ccf79056af57c71 /arch/arm64/kernel/setup.c | |
parent | b6b338fcc5c46a0d229742d977667e3b82915811 (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.c | 3 |
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; |