litedram: sdrinit() is now sdram_init()
authorAnton Blanchard <anton@linux.ibm.com>
Mon, 9 Aug 2021 00:53:51 +0000 (10:53 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Mon, 9 Aug 2021 00:53:51 +0000 (10:53 +1000)
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
litedram/gen-src/sdram_init/main.c

index 9ba4fd16f1b36467193477cd005f94912205ee8b..4917e306142ca06e11836b717e2b324a752b730b 100644 (file)
@@ -286,7 +286,7 @@ uint64_t main(void)
        if (ftr & SYS_REG_INFO_HAS_DRAM) {
                printf("LiteDRAM built from Migen %s and LiteX %s\n",
                       MIGEN_GIT_SHA1, LITEX_GIT_SHA1);
-               sdrinit();
+               sdram_init();
        }
        if (ftr & SYS_REG_INFO_HAS_BRAM) {
                printf("Booting from BRAM...\n");