summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-02-08 20:46:20 +0100
committerMartin L Roth <gaumless@gmail.com>2024-02-14 01:07:27 +0000
commite33fc66fc9ddc28e4eddebc06eac5cd0ec1c3af1 (patch)
tree77573301ba36815461f36cf1f59d4ffb7c90ebe5 /src/drivers
parenta88dd4b6fbac8748a6f4580ad6363da47f5b3bc2 (diff)
tree; Remove unused <lib.h>
Change-Id: Ifa5c89aad7d0538c556665f8b4372e44cf593822 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80433 Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/efi/efivars.c1
-rw-r--r--src/drivers/intel/fsp1_1/raminit.c1
-rw-r--r--src/drivers/intel/fsp1_1/ramstage.c1
-rw-r--r--src/drivers/intel/fsp2_0/fsp_gop_blt.c1
-rw-r--r--src/drivers/intel/fsp2_0/fsp_timestamp.c1
-rw-r--r--src/drivers/spi/issi.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/src/drivers/efi/efivars.c b/src/drivers/efi/efivars.c
index 9a3233f11c..e7eabf4f28 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 894f9ccc24..2aec5db7cd 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 200c89a8a9..5c40966e4f 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 5ccec593f5..a43364a989 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 4e50f8547e..872cf9149e 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 45fe5a130d..d2000b91bf 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"