firmware/dmi_scan: generalize for use by other archs
This patch makes a couple of changes to the SMBIOS/DMI scanning code so it can be used on other archs (such as ARM and arm64): (a) wrap the calls to ioremap()/iounmap(), this allows the use of a flavor of ioremap() more suitable for random unaligned access; (b) allow the non-EFI fallback probe into hardcoded physical address 0xF0000 to be disabled. Signed-off-by:Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by:
Grant Likely <grant.likely@linaro.org> Cc: Ingo Molnar <mingo@elte.hu> Cc "Luck, Tony" <tony.luck@intel.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/ia64/Kconfig 1 addition, 0 deletionsarch/ia64/Kconfig
- arch/ia64/include/asm/dmi.h 5 additions, 3 deletionsarch/ia64/include/asm/dmi.h
- arch/x86/Kconfig 1 addition, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/dmi.h 4 additions, 2 deletionsarch/x86/include/asm/dmi.h
- drivers/firmware/Kconfig 3 additions, 0 deletionsdrivers/firmware/Kconfig
- drivers/firmware/dmi_scan.c 10 additions, 10 deletionsdrivers/firmware/dmi_scan.c
Loading
Please register or sign in to comment