summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2017-09-28 23:31:11 -0400
committerTom Rini <[email protected]>2017-09-28 23:31:11 -0400
commitec4e99a4a24c84069c710df3202ecb1e501ff60f (patch)
tree0dfc78472fb1e971176fd1e9b1086cdfde207380 /common
parent9969306971acca6330650f0d5bebb25417ca5195 (diff)
parent3d3108d459e6d034f20aab33b11f4d23537f0c27 (diff)
Merge git://git.denx.de/u-boot-mmc
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl_mmc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index b2cccc6c6e4..b57e0b04e46 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -52,8 +52,9 @@ static ulong h_spl_load_read(struct spl_load_info *load, ulong sector,
return blk_dread(mmc_get_blk_desc(mmc), sector, count, buf);
}
-static int mmc_load_image_raw_sector(struct spl_image_info *spl_image,
- struct mmc *mmc, unsigned long sector)
+static __maybe_unused
+int mmc_load_image_raw_sector(struct spl_image_info *spl_image,
+ struct mmc *mmc, unsigned long sector)
{
unsigned long count;
struct image_header *header;