Skip to content

Commit

Permalink
Revert "arm64: dmi: Add SMBIOS/DMI support"
Browse files Browse the repository at this point in the history
This reverts commit a28e3f4.

Ard and Yi Li report that this patch is broken by design, so revert it
and let them sort it out for 3.18 instead.

Reported-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
  • Loading branch information
Will Deacon committed Jul 31, 2014
1 parent e4aa297 commit 9415667
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 54 deletions.
11 changes: 0 additions & 11 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -360,17 +360,6 @@ config EFI
allow the kernel to be booted as an EFI application. This
is only useful on systems that have UEFI firmware.

config DMI
bool "Enable support for SMBIOS (DMI) tables"
depends on EFI
default y
help
This enables SMBIOS/DMI feature for systems.

This option is only useful on systems that have UEFI firmware.
However, even with this option, the resultant kernel should
continue to boot on existing non-UEFI platforms.

endmenu

menu "Userspace binary formats"
Expand Down
41 changes: 0 additions & 41 deletions arch/arm64/include/asm/dmi.h

This file was deleted.

2 changes: 0 additions & 2 deletions arch/arm64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#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>
Expand Down Expand Up @@ -414,7 +413,6 @@ 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);
Expand Down

0 comments on commit 9415667

Please sign in to comment.