Merge git://git.denx.de/u-boot-dm
[oweals/u-boot.git] / api / api_platform-powerpc.c
index 71fea5a75acbda15c3c3a27d93847a3bebe7bd31..9e9bc63b2f568aeeb83389530b40b86134294cbc 100644 (file)
@@ -30,11 +30,8 @@ int platform_sys_info(struct sys_info *si)
        si->clk_bus = gd->bus_clk;
        si->clk_cpu = gd->cpu_clk;
 
-#if defined(CONFIG_5xx) || defined(CONFIG_MPC8260) || \
-    defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
 #define bi_bar bi_immr_base
-#elif defined(CONFIG_MPC5xxx)
-#define bi_bar bi_mbar_base
 #elif defined(CONFIG_MPC83xx)
 #define bi_bar bi_immrbar
 #endif