summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-02-01 19:39:07 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-10 07:22:08 +0000
commitf7a7e65aa44d5163e27819c5e2050abb93b68cd1 (patch)
treec6ff4e32c3e0b18b53037d1553cc4b6c2d81a5f0 /src/drivers
parent80594b79f99bcb72a02685bccd6bd063070470f6 (diff)
src: Remove unused <boot_device.h>
Change-Id: Idbb4d72e1ba620f71e8bf882d434c103cb422615 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50201 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/flashconsole.c1
-rw-r--r--src/drivers/spi/spi_flash.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/spi/flashconsole.c b/src/drivers/spi/flashconsole.c
index d5c4382101..679c814dff 100644
--- a/src/drivers/spi/flashconsole.c
+++ b/src/drivers/spi/flashconsole.c
@@ -2,7 +2,6 @@
#include <commonlib/helpers.h>
#include <commonlib/region.h>
-#include <boot_device.h>
#include <fmap.h>
#include <console/console.h>
#include <console/flash.h>
diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c
index 2406a90e52..b674749feb 100644
--- a/src/drivers/spi/spi_flash.c
+++ b/src/drivers/spi/spi_flash.c
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <assert.h>
-#include <boot_device.h>
#include <boot/coreboot_tables.h>
+#include <commonlib/region.h>
#include <console/console.h>
#include <string.h>
#include <spi-generic.h>