[coreboot-gerrit] Change in coreboot[master]: commonlib/storage: Fix MMC build
Lee Leahy (Code Review)
gerrit at coreboot.org
Tue Jun 20 00:13:00 CEST 2017
Lee Leahy has submitted this change and it was merged. ( https://review.coreboot.org/20271 )
Change subject: commonlib/storage: Fix MMC build
......................................................................
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 at intel.com>
Reviewed-on: https://review.coreboot.org/20271
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Martin Roth <martinroth at google.com>
---
M src/commonlib/storage/mmc.c
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Martin Roth: Looks good to me, approved
diff --git a/src/commonlib/storage/mmc.c b/src/commonlib/storage/mmc.c
index 4289b01..b8a3b67 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,
--
To view, visit https://review.coreboot.org/20271
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0dea597272e5ece97843704a159aa546a8d77ff0
Gerrit-Change-Number: 20271
Gerrit-PatchSet: 2
Gerrit-Owner: Lee Leahy <leroy.p.leahy at intel.com>
Gerrit-Reviewer: Lee Leahy <leroy.p.leahy at intel.com>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170620/7da35b7e/attachment.html>
More information about the coreboot-gerrit
mailing list