]> git.karo-electronics.de Git - karo-tx-linux.git/commit
firmware/dmi_scan: generalize for use by other archs
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 3 Jan 2014 03:10:16 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:16 +0000 (14:10 +1100)
commita0bfaf7220c5f7f3fbba4f62e0ad289874a35b4e
tree0b4f6f44ecec031ee3aca99b199d2ec8f9c0e91b
parentbe87a3d09696b5ef02a8849af55a37b9ad766785
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>
arch/ia64/Kconfig
arch/ia64/include/asm/dmi.h
arch/x86/Kconfig
arch/x86/include/asm/dmi.h
drivers/firmware/Kconfig
drivers/firmware/dmi_scan.c