]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/evb64260/mpsc.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / evb64260 / mpsc.c
index 98ac7f63df9917c8b2d47f46f64618fc684b3a63..8c4a4c899028ccc714752e196e8608410eb615df 100755 (executable)
@@ -259,7 +259,7 @@ char mpsc_getchar (void)
 int
 mpsc_test_char(void)
 {
-       volatile unsigned int *p=&rx_desc_base[rx_desc_index*8];
+       volatile unsigned int *p = &rx_desc_base[rx_desc_index*8];
 
        INVALIDATE_DCACHE(&p[1], &p[2]);
 
@@ -309,9 +309,9 @@ mpsc_init(int baud)
 
        /* COMM_MPSC CONFIG */
 #ifdef SOFTWARE_CACHE_MANAGEMENT
-       galmpsc_set_snoop(CHANNEL, 0);                                  /* disable snoop */
+       galmpsc_set_snoop(CHANNEL, 0);                          /* disable snoop */
 #else
-       galmpsc_set_snoop(CHANNEL, 1);                                  /* enable snoop */
+       galmpsc_set_snoop(CHANNEL, 1);                          /* enable snoop */
 #endif
 
        return 0;
@@ -390,7 +390,7 @@ galbrg_set_baudrate(int channel, int rate)
 
 #if defined(CONFIG_ZUMA_V2) || defined(CONFIG_P3G4)
        /* from tclk */
-       clock = (CFG_BUS_HZ/(16*rate)) - 1;
+       clock = (CONFIG_SYS_BUS_HZ/(16*rate)) - 1;
 #else
        clock = (3686400/(16*rate)) - 1;
 #endif