aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2020-07-07 01:41:48 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-07-11 15:53:47 +0200
commit61f60debcb71798cfa56bed8e5e115c3afca7847 (patch)
treebf757c5a46361fa47ac2afe030c01563ac14c1f2 /board
parentf1ace6570d3d0c39cc253bcf6ee6b0e903ec96b9 (diff)
downloadbuildroot-61f60debcb71798cfa56bed8e5e115c3afca7847.tar.gz
buildroot-61f60debcb71798cfa56bed8e5e115c3afca7847.tar.bz2
board/qemu/aarch64-virt/linux.config: enable QEMU firmware configuration (fw_cfg)
>From [1]: This kernel option allow exporting of the QEMU firmware configuration (fw_cfg) file entries via sysfs. Entries are found under /sys/firmware/fw_cfg when this option is enabled and loaded. Enable the suboption to allow the qemu_fw_cfg device to be initialized via the kernel command line or using a module parameter. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/firmware/Kconfig?h=v5.4.42#n187 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/aarch64-virt/linux.config2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/qemu/aarch64-virt/linux.config b/board/qemu/aarch64-virt/linux.config
index 129a200ab0..c21994076a 100644
--- a/board/qemu/aarch64-virt/linux.config
+++ b/board/qemu/aarch64-virt/linux.config
@@ -7,6 +7,8 @@ CONFIG_SCHED_AUTOGROUP=y
CONFIG_PROFILING=y
CONFIG_ARCH_VEXPRESS=y
CONFIG_COMPAT=y
+CONFIG_FW_CFG_SYSFS=y
+CONFIG_FW_CFG_SYSFS_CMDLINE=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_BLK_DEV_BSGLIB=y