[coreboot-gerrit] Change in coreboot[master]: commonlib/storage: Fix MMC build

Lee Leahy (Code Review) gerrit at coreboot.org
Mon Jun 19 20:33:11 CEST 2017


Lee Leahy has uploaded this change for review. ( 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>
---
M src/commonlib/storage/mmc.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/20271/1

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: newchange
Gerrit-Change-Id: I0dea597272e5ece97843704a159aa546a8d77ff0
Gerrit-Change-Number: 20271
Gerrit-PatchSet: 1
Gerrit-Owner: Lee Leahy <leroy.p.leahy at intel.com>



More information about the coreboot-gerrit mailing list