]> git.sur5r.net Git - u-boot/blobdiff - common/spl/spl_mmc.c
spl: use different BOARD_INIT MACRO for spl and tpl
[u-boot] / common / spl / spl_mmc.c
index b2cccc6c6e41ca450e49cd68fc28516187d8372e..b57e0b04e46a3174a5ccead5c2489eb9c2ade1f0 100644 (file)
@@ -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;