android_kernel_motorola_sm6375/drivers/firmware
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Geert Uytterhoeven 11420c32c1 efi: EFI_EARLYCON should depend on EFI
[ Upstream commit 36a237526cd81ff4b6829e6ebd60921c6f976e3b ]

CONFIG_EFI_EARLYCON defaults to yes, and thus is enabled on systems that
do not support EFI, or do not have EFI support enabled, but do satisfy
the symbol's other dependencies.

While drivers/firmware/efi/ won't be entered during the build phase if
CONFIG_EFI=n, and drivers/firmware/efi/earlycon.c itself thus won't be
built, enabling EFI_EARLYCON does force-enable CONFIG_FONT_SUPPORT and
CONFIG_ARCH_USE_MEMREMAP_PROT, and CONFIG_FONT_8x16, which is
undesirable.

Fix this by making CONFIG_EFI_EARLYCON depend on CONFIG_EFI.

This reduces kernel size on headless systems by more than 4 KiB.

Fixes: 69c1f396f2 ("efi/x86: Convert x86 EFI earlyprintk into generic earlycon implementation")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-12-02 08:49:53 +01:00
..
arm_scmi firmware: arm_scmi: Add missing Rx size re-initialisation 2020-11-05 11:43:12 +01:00
broadcom
efi efi: EFI_EARLYCON should depend on EFI 2020-12-02 08:49:53 +01:00
google
imx firmware: imx: scu: Fix possible memory leak in imx_scu_probe() 2020-06-24 17:50:30 +02:00
meson
psci drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups() 2020-07-29 10:18:28 +02:00
tegra
xilinx
arm_scpi.c
arm_sdei.c firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp 2020-10-01 13:17:37 +02:00
dmi-id.c
dmi-sysfs.c
dmi_scan.c
edd.c
iscsi_ibft.c
iscsi_ibft_find.c
Kconfig
Makefile
memmap.c
pcdp.c
pcdp.h
qcom_scm-32.c
qcom_scm-64.c
qcom_scm.c firmware: qcom_scm: fix bogous abuse of dma-direct internals 2020-06-24 17:50:21 +02:00
qcom_scm.h
qemu_fw_cfg.c firmware: Fix a reference count leak. 2020-08-11 15:33:38 +02:00
raspberrypi.c
scpi_pm_domain.c
stratix10-rsu.c
stratix10-svc.c
ti_sci.c
ti_sci.h
trusted_foundations.c
turris-mox-rwtm.c