diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-06-19 10:53:18 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-06-20 00:12:58 +0200 |
commit | 927f06a565dcbf973739e2c91cc1ea2814338609 (patch) | |
tree | 4ebc17f1db2355ec7c7540ee00d5abd60e201e44 /src/commonlib | |
parent | eef1e9896fa2641b2c92d8b0c507e160a36db315 (diff) | |
download | coreboot-927f06a565dcbf973739e2c91cc1ea2814338609.tar.xz |
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.c | 2 |
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, |