summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/setup.c
diff options
context:
space:
mode:
authorYi Li <yi.li@linaro.org>2014-07-11 12:46:50 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2014-07-21 10:22:21 +0100
commita28e3f4b90543f7c249a956e3ca518e243a04618 (patch)
treebeb5616e53df9b843da764572a2284609b9317db /arch/arm64/kernel/setup.c
parentd7a49086f263164a2c4c178eb76412d48cd671d7 (diff)
downloadlinux-stable-a28e3f4b90543f7c249a956e3ca518e243a04618.tar.gz
linux-stable-a28e3f4b90543f7c249a956e3ca518e243a04618.tar.bz2
linux-stable-a28e3f4b90543f7c249a956e3ca518e243a04618.zip
arm64: dmi: Add SMBIOS/DMI support
SMbios is important for server hardware vendors. It implements a spec for providing descriptive information about the platform. Things like serial numbers, physical layout of the ports, build configuration data, and the like. This has been tested by dmidecode and lshw tools. Signed-off-by: Yi Li <yi.li@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/setup.c')
-rw-r--r--arch/arm64/kernel/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index f6f0ccf35ae6..35339a0e1592 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -43,6 +43,7 @@
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
#include <linux/efi.h>
+#include <linux/dmi.h>
#include <asm/fixmap.h>
#include <asm/cpu.h>
@@ -413,6 +414,7 @@ void __init setup_arch(char **cmdline_p)
static int __init arm64_device_init(void)
{
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+ dmi_scan_machine();
return 0;
}
arch_initcall_sync(arm64_device_init);