]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mpc5xxx/cpu.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / mpc5xxx / cpu.c
index 1326c3cc99e72c51ff0c8e2ac9b139dfafbeb01a..9c6ab76a6ffe9085fb59fa0972115a01eb16a24f 100644 (file)
@@ -118,7 +118,7 @@ unsigned long get_tbclk (void)
 #if defined(CONFIG_OF_LIBFDT) && defined (CONFIG_OF_BOARD_SETUP)
 void ft_cpu_setup(void *blob, bd_t *bd)
 {
-       int div = in_8((void*)CFG_MBAR + 0x204) & 0x0020 ? 8 : 4;
+       int div = in_8((void*)CONFIG_SYS_MBAR + 0x204) & 0x0020 ? 8 : 4;
        char * cpu_path = "/cpus/" OF_CPU;
 #ifdef CONFIG_MPC5xxx_FEC
        char * eth_path = "/" OF_SOC "/ethernet@3000";