]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/ppc4xx/denali_data_eye.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / cpu / ppc4xx / denali_data_eye.c
index 6c949a0fe15cc8ba08fa5cebdbca9e45da8ba5a5..ffc38174491f1531c5f0ee76d94557f6587fe2ee 100644 (file)
@@ -99,14 +99,7 @@ static int wait_for_dram_init_complete(void)
 /*-----------------------------------------------------------------------------+
  * denali_core_search_data_eye.
  +----------------------------------------------------------------------------*/
-/*
- * Avoid conflict with implementations of denali_core_search_data_eye in board-
- * specific code.
- */
 void denali_core_search_data_eye(void)
-    __attribute__ ((weak, alias("__denali_core_search_data_eye")));
-
-void __denali_core_search_data_eye(void)
 {
        int k, j;
        u32 val;
@@ -134,7 +127,7 @@ void __denali_core_search_data_eye(void)
                0x55AA55AA, 0x55AA55AA, 0xAA55AA55, 0xAA55AA55
        };
 
-       ram_pointer = (volatile u32 *)(CFG_SDRAM_BASE);
+       ram_pointer = (volatile u32 *)(CONFIG_SYS_SDRAM_BASE);
 
        for (wr_dqs_shift = 64; wr_dqs_shift < 96; wr_dqs_shift++) {
                /* for (wr_dqs_shift=1; wr_dqs_shift<96; wr_dqs_shift++) { */