]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/samsung/common/board.c
samsung: board: fix: Define loop iterator as an unsigned int to suppress gcc 4.8...
[karo-tx-uboot.git] / board / samsung / common / board.c
index 6c7f59be87101c48cde630a5ca7efc87e96891ce..97950fa1920e0765b8031ac2066f5804c0b50402 100644 (file)
@@ -88,7 +88,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-       int i;
+       unsigned int i;
        u32 addr;
 
        for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) {
@@ -100,7 +100,7 @@ int dram_init(void)
 
 void dram_init_banksize(void)
 {
-       int i;
+       unsigned int i;
        u32 addr, size;
 
        for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) {