Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60911 )
Change subject: src: Remove unused <bootmode.h> ......................................................................
src: Remove unused <bootmode.h>
Found using: diff <(git grep -l '#include <bootmode.h>' -- src/) <(git grep -l 'platform_is_resuming|gfx_set_init_done|gfx_get_init_done|display_init_required|get_ec_is_trusted|get_lid_switch|get_wipeout_mode_switch|clear_recovery_mode_switch|get_recovery_mode_retrain_switch|get_recovery_mode_switch|get_recovery_mode_retrain_switch|get_recovery_mode_switch|get_write_protect_state|init_bootmode_straps' -- src/) |grep "<"
Change-Id: I2ebd472e0cfc641bd7e465b8d29272fd2f7520a1 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/60911 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Hung-Te Lin hungte@chromium.org --- M src/drivers/intel/fsp2_0/memory_init.c M src/soc/mediatek/common/memory.c M src/soc/qualcomm/common/qclib.c 3 files changed, 0 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified Hung-Te Lin: Looks good to me, approved
diff --git a/src/drivers/intel/fsp2_0/memory_init.c b/src/drivers/intel/fsp2_0/memory_init.c index 1612089..4f95462 100644 --- a/src/drivers/intel/fsp2_0/memory_init.c +++ b/src/drivers/intel/fsp2_0/memory_init.c @@ -3,7 +3,6 @@ #include <security/vboot/antirollback.h> #include <arch/symbols.h> #include <assert.h> -#include <bootmode.h> #include <cbfs.h> #include <cbmem.h> #include <cf9_reset.h> diff --git a/src/soc/mediatek/common/memory.c b/src/soc/mediatek/common/memory.c index 2e460ae..0850d0f 100644 --- a/src/soc/mediatek/common/memory.c +++ b/src/soc/mediatek/common/memory.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h> -#include <bootmode.h> #include <cbfs.h> #include <cbmem.h> #include <commonlib/bsd/mem_chip_info.h> diff --git a/src/soc/qualcomm/common/qclib.c b/src/soc/qualcomm/common/qclib.c index 9a485db..43b6399 100644 --- a/src/soc/qualcomm/common/qclib.c +++ b/src/soc/qualcomm/common/qclib.c @@ -2,7 +2,6 @@
#include <console/cbmem_console.h> #include <cbmem.h> -#include <bootmode.h> #include <string.h> #include <fmap.h> #include <assert.h>