summaryrefslogtreecommitdiff
path: root/include/linux/efi_embedded_fw.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-01-15 17:35:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-20 14:57:54 +0100
commit835e1b86ef8c9b466df5c9c949319690df700760 (patch)
treee561ff389b7750e4fa2194abc4facad4d98b0a32 /include/linux/efi_embedded_fw.h
parent85bfb4af14c89fea929973e79a55901877992127 (diff)
platform/x86: touchscreen_dmi: Add EFI embedded firmware info support
Sofar we have been unable to get permission from the vendors to put the firmware for touchscreens listed in touchscreen_dmi in linux-firmware. Some of the tablets with such a touchscreen have a touchscreen driver, and thus a copy of the firmware, as part of their EFI code. This commit adds the necessary info for the new EFI embedded-firmware code to extract these firmwares, making the touchscreen work OOTB without the user needing to manually add the firmware. Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20200115163554.101315-10-hdegoede@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/efi_embedded_fw.h')
-rw-r--r--include/linux/efi_embedded_fw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/efi_embedded_fw.h b/include/linux/efi_embedded_fw.h
index 3d066c6370c6..57eac5241303 100644
--- a/include/linux/efi_embedded_fw.h
+++ b/include/linux/efi_embedded_fw.h
@@ -36,6 +36,8 @@ struct efi_embedded_fw_desc {
u8 sha256[32];
};
+extern const struct dmi_system_id touchscreen_dmi_table[];
+
int efi_get_embedded_fw(const char *name, const u8 **dat, size_t *sz);
#endif