]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv7/exynos/spl_boot.c
Exynos: Clock: Fix exynos5_get_periph_rate for I2C.
[u-boot] / arch / arm / cpu / armv7 / exynos / spl_boot.c
index dbd312cfc1fb617c15f1fd38ff38bc6da910e463..c7f943eb6a93bc55519744d16647f870f64d5f89 100644 (file)
@@ -151,7 +151,7 @@ static void exynos_spi_copy(unsigned int uboot_size, unsigned int uboot_addr)
        }
 
        for (upto = 0, i = 0; upto < uboot_size; upto += todo, i++) {
-               todo = min(uboot_size - upto, (1 << 15));
+               todo = min(uboot_size - upto, (unsigned int)(1 << 15));
                spi_rx_tx(regs, todo, (void *)(uboot_addr),
                          (void *)(SPI_FLASH_UBOOT_POS), i);
        }
@@ -309,4 +309,3 @@ void board_init_r(gd_t *id, ulong dest_addr)
        while (1)
                ;
 }
-void save_boot_params(u32 r0, u32 r1, u32 r2, u32 r3) {}