]> Git Repo - J-u-boot.git/blobdiff - drivers/mmc/fsl_esdhc.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
[J-u-boot.git] / drivers / mmc / fsl_esdhc.c
index 26406072482f202a8ca6e2fa6cd8a54c87fbea4c..90b8ed01ccb033aba79a0a5cd1357a1fa2a40884 100644 (file)
@@ -610,7 +610,7 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg)
 #endif
 
        cfg->cfg.f_min = 400000;
-       cfg->cfg.f_max = min(gd->arch.sdhc_clk, 52000000);
+       cfg->cfg.f_max = min(gd->arch.sdhc_clk, (u32)52000000);
 
        cfg->cfg.b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;
 
This page took 0.025518 seconds and 4 git commands to generate.