]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/compulab/cm_fx6/cm_fx6.c
board_f: Drop setup_dram_config() wrapper
[people/ms/u-boot.git] / board / compulab / cm_fx6 / cm_fx6.c
index 5b88bcce598284dcc7aff3e7a878aed5b84dfb55..80b5dc9026ab0b7ccd66c6d014d849f777dfb57c 100644 (file)
@@ -688,7 +688,7 @@ int misc_init_r(void)
        return 0;
 }
 
-void dram_init_banksize(void)
+int dram_init_banksize(void)
 {
        gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
        gd->bd->bi_dram[1].start = PHYS_SDRAM_2;
@@ -720,6 +720,8 @@ void dram_init_banksize(void)
                gd->bd->bi_dram[1].size = 0x7FF00000;
                break;
        }
+
+       return 0;
 }
 
 int dram_init(void)