]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/csb272/csb272.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / board / csb272 / csb272.c
index 640412d10d1bb3d7ba5e694d2ce6890a2076fba9..11596d2b7e9636b8769eedc28057729ceb9db528 100644 (file)
@@ -51,9 +51,9 @@ uchar pll_fs6377_regs[16] = {
  */
 int pll_init(void)
 {
-       i2c_init(CFG_I2C_SPEED, CFG_I2C_SLAVE);
+       i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
 
-       return  i2c_write(CFG_I2C_PLL_ADDR, 0, 1,
+       return  i2c_write(CONFIG_SYS_I2C_PLL_ADDR, 0, 1,
                (uchar *) pll_fs6377_regs, sizeof(pll_fs6377_regs));
 }
 
@@ -120,7 +120,7 @@ int checkboard(void)
  * configured by initialization code
  *
  */
-long initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        ulong tot_size;
        ulong bank_size;