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)
commit771856caf518b477390afab3aa311d74144f148b
tree2cde99d7293517eab66055851d6cbe9a7968f8e3
parente2e2c0f20f321b0ec36e8bde467259c0adf1fecb
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