Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80433?usp=email )
Change subject: tree; Remove unused <lib.h> ......................................................................
tree; Remove unused <lib.h>
Change-Id: Ifa5c89aad7d0538c556665f8b4372e44cf593822 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/drivers/efi/efivars.c M src/drivers/intel/fsp1_1/raminit.c M src/drivers/intel/fsp1_1/ramstage.c M src/drivers/intel/fsp2_0/fsp_gop_blt.c M src/drivers/intel/fsp2_0/fsp_timestamp.c M src/drivers/spi/issi.c M src/northbridge/amd/pi/00730F01/northbridge.c M src/soc/qualcomm/sc7280/display/edp_phy_7nm.c 8 files changed, 0 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/80433/1
diff --git a/src/drivers/efi/efivars.c b/src/drivers/efi/efivars.c index 9a3233f..e7eabf4 100644 --- a/src/drivers/efi/efivars.c +++ b/src/drivers/efi/efivars.c @@ -9,7 +9,6 @@ #include <vendorcode/intel/edk2/UDK2017/MdePkg/Include/Uefi/UefiMultiPhase.h> #include <vendorcode/intel/edk2/UDK2017/MdePkg/Include/Pi/PiFirmwareVolume.h> #include <vendorcode/intel/edk2/UDK2017/MdeModulePkg/Include/Guid/VariableFormat.h> -#include <lib.h>
#include "efivars.h"
diff --git a/src/drivers/intel/fsp1_1/raminit.c b/src/drivers/intel/fsp1_1/raminit.c index 894f9cc..2aec5db 100644 --- a/src/drivers/intel/fsp1_1/raminit.c +++ b/src/drivers/intel/fsp1_1/raminit.c @@ -8,7 +8,6 @@ #include <cpu/x86/smm.h> #include <fsp/romstage.h> #include <fsp/util.h> -#include <lib.h> #include <string.h> #include <timestamp.h>
diff --git a/src/drivers/intel/fsp1_1/ramstage.c b/src/drivers/intel/fsp1_1/ramstage.c index 200c89a..5c40966 100644 --- a/src/drivers/intel/fsp1_1/ramstage.c +++ b/src/drivers/intel/fsp1_1/ramstage.c @@ -6,7 +6,6 @@ #include <fsp/ramstage.h> #include <fsp/util.h> #include <framebuffer_info.h> -#include <lib.h> #include <stage_cache.h> #include <string.h> #include <timestamp.h> diff --git a/src/drivers/intel/fsp2_0/fsp_gop_blt.c b/src/drivers/intel/fsp2_0/fsp_gop_blt.c index 5ccec59..a43364a 100644 --- a/src/drivers/intel/fsp2_0/fsp_gop_blt.c +++ b/src/drivers/intel/fsp2_0/fsp_gop_blt.c @@ -4,7 +4,6 @@ #include <console/console.h> #include <fsp/api.h> #include <fsp/fsp_gop_blt.h> -#include <lib.h> #include <stdlib.h>
static bool is_bmp_image_valid(efi_bmp_image_header *header) diff --git a/src/drivers/intel/fsp2_0/fsp_timestamp.c b/src/drivers/intel/fsp2_0/fsp_timestamp.c index 4e50f85..872cf91 100644 --- a/src/drivers/intel/fsp2_0/fsp_timestamp.c +++ b/src/drivers/intel/fsp2_0/fsp_timestamp.c @@ -2,7 +2,6 @@
#include <console/console.h> #include <fsp/util.h> -#include <lib.h>
#define TIMESTAMP_TO_MICRO(x) ((x) / 1000ull)
diff --git a/src/drivers/spi/issi.c b/src/drivers/spi/issi.c index 45fe5a1..d2000b9 100644 --- a/src/drivers/spi/issi.c +++ b/src/drivers/spi/issi.c @@ -5,7 +5,6 @@ #include <spi_flash.h> #include <spi-generic.h> #include <delay.h> -#include <lib.h>
#include "spi_flash_internal.h"
diff --git a/src/northbridge/amd/pi/00730F01/northbridge.c b/src/northbridge/amd/pi/00730F01/northbridge.c index b318be0..bc5439d 100644 --- a/src/northbridge/amd/pi/00730F01/northbridge.c +++ b/src/northbridge/amd/pi/00730F01/northbridge.c @@ -13,7 +13,6 @@ #include <device/pci_ids.h> #include <string.h> #include <stdlib.h> -#include <lib.h> #include <cpu/x86/mp.h> #include <Porting.h> #include <Topology.h> diff --git a/src/soc/qualcomm/sc7280/display/edp_phy_7nm.c b/src/soc/qualcomm/sc7280/display/edp_phy_7nm.c index ab7f04b..eebb122 100644 --- a/src/soc/qualcomm/sc7280/display/edp_phy_7nm.c +++ b/src/soc/qualcomm/sc7280/display/edp_phy_7nm.c @@ -4,7 +4,6 @@ #include <delay.h> #include <device/mmio.h> #include <edid.h> -#include <lib.h> #include <soc/clock.h> #include <soc/display/edp_reg.h> #include <soc/display/edp_phy.h>