]> git.baikalelectronics.ru Git - kernel.git/commit
vmlinux.lds.h: wrap built-in firmware support under FW_LOADER
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 21 Oct 2021 15:58:38 +0000 (08:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Oct 2021 12:13:58 +0000 (14:13 +0200)
commit8ee905ff0a653afacb34862a98424f324e1adc53
tree2cde99d7293517eab66055851d6cbe9a7968f8e3
parent5003ad3de554933ae7239b579308e368404d111b
vmlinux.lds.h: wrap built-in firmware support under FW_LOADER

The firmware loader built-in firmware is only available when FW_LOADER
is built-in, so tuck away the sections for built-in firmware under it.

This ensures no oddball user tries to uses these sections without
first enabling FW_LOADER=y.

Reviewed-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20211021155843.1969401-6-mcgrof@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/asm-generic/vmlinux.lds.h