[Linaro-uefi] [PATCH 1/3] firmware/dmi_scan: generalize for use by other archs