75f3e8e47f
Make fw_cfg entries of type "file" available via sysfs. Entries are listed under /sys/firmware/qemu_fw_cfg/by_key, in folders named after each entry's selector key. Filename, selector value, and size read-only attributes are included for each entry. Also, a "raw" attribute allows retrieval of the full binary content of each entry. The fw_cfg device can be instantiated automatically from ACPI or the Device Tree, or manually by using a kernel module (or command line) parameter, with a syntax outlined in the documentation file. Signed-off-by: Gabriel Somlo <somlo@cmu.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
952 B
Makefile
26 lines
952 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
obj-$(CONFIG_ARM_PSCI_FW) += psci.o
|
|
obj-$(CONFIG_ARM_SCPI_PROTOCOL) += arm_scpi.o
|
|
obj-$(CONFIG_DMI) += dmi_scan.o
|
|
obj-$(CONFIG_DMI_SYSFS) += dmi-sysfs.o
|
|
obj-$(CONFIG_EDD) += edd.o
|
|
obj-$(CONFIG_EFI_PCDP) += pcdp.o
|
|
obj-$(CONFIG_DELL_RBU) += dell_rbu.o
|
|
obj-$(CONFIG_DCDBAS) += dcdbas.o
|
|
obj-$(CONFIG_DMIID) += dmi-id.o
|
|
obj-$(CONFIG_ISCSI_IBFT_FIND) += iscsi_ibft_find.o
|
|
obj-$(CONFIG_ISCSI_IBFT) += iscsi_ibft.o
|
|
obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
|
|
obj-$(CONFIG_RASPBERRYPI_FIRMWARE) += raspberrypi.o
|
|
obj-$(CONFIG_FW_CFG_SYSFS) += qemu_fw_cfg.o
|
|
obj-$(CONFIG_QCOM_SCM) += qcom_scm.o
|
|
obj-$(CONFIG_QCOM_SCM_64) += qcom_scm-64.o
|
|
obj-$(CONFIG_QCOM_SCM_32) += qcom_scm-32.o
|
|
CFLAGS_qcom_scm-32.o :=$(call as-instr,.arch armv7-a\n.arch_extension sec,-DREQUIRES_SEC=1) -march=armv7-a
|
|
|
|
obj-y += broadcom/
|
|
obj-$(CONFIG_GOOGLE_FIRMWARE) += google/
|
|
obj-$(CONFIG_EFI) += efi/
|
|
obj-$(CONFIG_UEFI_CPER) += efi/
|