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>
This commit is contained in:
Lee Leahy 2017-06-19 10:53:18 -07:00
parent eef1e9896f
commit 927f06a565
1 changed files with 2 additions and 0 deletions

View File

@ -21,11 +21,13 @@
#include <commonlib/storage.h> #include <commonlib/storage.h>
#include <console/console.h> #include <console/console.h>
#include <delay.h>
#include "sd_mmc.h" #include "sd_mmc.h"
#include "mmc.h" #include "mmc.h"
#include "sd_mmc.h" #include "sd_mmc.h"
#include "storage.h" #include "storage.h"
#include <string.h> #include <string.h>
#include <timer.h>
/* We pass in the cmd since otherwise the init seems to fail */ /* We pass in the cmd since otherwise the init seems to fail */
static int mmc_send_op_cond_iter(struct storage_media *media, static int mmc_send_op_cond_iter(struct storage_media *media,