aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorRuss Weight <[email protected]>2022-11-14 16:11:27 -0800
committerXu Yilun <[email protected]>2022-11-15 21:46:58 +0800
commitdfd10332596ef11ceafd29c4e21b4117be423fc4 (patch)
treec5d291f2436b0f3b1abb2bb7913965214a15c594 /lib/mpi/mpi-mod.c
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
fpga: m10bmc-sec: Fix kconfig dependencies
The secure update driver depends on the firmware-upload functionality of the firmware-loader. The firmware-loader is carried in the firmware-class driver which is enabled with the tristate CONFIG_FW_LOADER option. The firmware-upload functionality is included in the firmware-class driver if the bool FW_UPLOAD config is set. The current dependency statement, "depends on FW_UPLOAD", is not adequate because it does not implicitly turn on FW_LOADER. Instead of adding a dependency, follow the convention used by drivers that require the FW_LOADER_USER_HELPER functionality of the firmware-loader by using select for both FW_LOADER and FW_UPLOAD. Fixes: bdf86d0e6ca3 ("fpga: m10bmc-sec: create max10 bmc secure update") Reported-by: kernel test robot <[email protected]> Cc: [email protected] Signed-off-by: Russ Weight <[email protected]> Acked-by: Randy Dunlap <[email protected]> Acked-by: Xu Yilun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions