summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-06-19 10:53:18 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2017-06-20 00:12:58 +0200
commit927f06a565dcbf973739e2c91cc1ea2814338609 (patch)
tree4ebc17f1db2355ec7c7540ee00d5abd60e201e44 /src/commonlib
parenteef1e9896fa2641b2c92d8b0c507e160a36db315 (diff)
commonlib/storage: Fix MMC build
Add missing includes to build mmc.c. TEST=Build and run on Galileo Gen2 Change-Id: I0dea597272e5ece97843704a159aa546a8d77ff0 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/20271 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/storage/mmc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commonlib/storage/mmc.c b/src/commonlib/storage/mmc.c
index 4289b01f33..b8a3b67495 100644
--- a/src/commonlib/storage/mmc.c
+++ b/src/commonlib/storage/mmc.c
@@ -21,11 +21,13 @@
#include <commonlib/storage.h>
#include <console/console.h>
+#include <delay.h>
#include "sd_mmc.h"
#include "mmc.h"
#include "sd_mmc.h"
#include "storage.h"
#include <string.h>
+#include <timer.h>
/* We pass in the cmd since otherwise the init seems to fail */
static int mmc_send_op_cond_iter(struct storage_media *media,