firmware: fw_cfg register offsets on supported architectures only
authorGabriel Somlo <somlo@cmu.edu>
Mon, 22 Feb 2016 21:18:18 +0000 (16:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 17:11:44 +0000 (10:11 -0700)
commit00411b7b1e3ec477b75bb83ccd417c7609832db6
tree73057a7144dc14712403571ca4be7ed04474712c
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
firmware: fw_cfg register offsets on supported architectures only

Refrain from defining default fw_cfg register offsets on
unsupported architectures -- throw an error instead. If
QEMU were to add fw_cfg support on additional architectures,
we should add them to the FW_CFG_SYSFS depends statement in
drivers/firmware/Kconfig, and provide default values for
register offsets in drivers/firmware/qemu_fw_cfg.c at that
time.

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/qemu_fw_cfg.c
This page took 0.025027 seconds and 5 git commands to generate.