]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/pcippc2/cpc710_init_ram.c
fsl_esdhc: Fix DMA transfer completion waiting loop
[karo-tx-uboot.git] / board / pcippc2 / cpc710_init_ram.c
index 171f06c58f7893e4c1e364be0d50ff83c20bcd28..8945351a4df0bf3a2fde2cf385462468d19b72d3 100644 (file)
@@ -81,7 +81,7 @@ unsigned long cpc710_ram_init (void)
        unsigned long bank_size;
        u32 mcer;
 
-#ifndef CFG_RAMBOOT
+#ifndef CONFIG_SYS_RAMBOOT
        /* Clear memory banks
         */
        out32 (REG (SDRAM0, MCER0), 0);
@@ -107,14 +107,14 @@ unsigned long cpc710_ram_init (void)
                hang ();
        }
        memsize += bank_size;
-#ifndef CFG_RAMBOOT
+#ifndef CONFIG_SYS_RAMBOOT
        /* Enable bank, zero start
         */
        out32 (REG (SDRAM0, MCER0), mcer | 0x80000000);
        iobarrier_rw ();
 #endif
 
-#ifndef CFG_RAMBOOT
+#ifndef CONFIG_SYS_RAMBOOT
        /* Enable memory
         */
        out32 (REG (SDRAM0, MCCR), in32 (REG (SDRAM0, MCCR)) | 0x80000000);