summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
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>