summaryrefslogtreecommitdiff
path: root/src/drivers/spi/flashconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/flashconsole.c')
-rw-r--r--src/drivers/spi/flashconsole.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/spi/flashconsole.c b/src/drivers/spi/flashconsole.c
index 2a0d2358b9..8874812449 100644
--- a/src/drivers/spi/flashconsole.c
+++ b/src/drivers/spi/flashconsole.c
@@ -17,6 +17,8 @@
#include <fmap.h>
#include <console/console.h>
#include <console/flash.h>
+#include <stdlib.h>
+#include <types.h>
#define LINE_BUFFER_SIZE 128
#define READ_BUFFER_SIZE 0x100