]> git.sur5r.net Git - u-boot/blobdiff - include/common.h
sunxi: Remove mmc DMA support
[u-boot] / include / common.h
index cc74633df5e5718a922f1c072f977345ce1952b4..2e5a6d3d2f1cb476a55c3b49d0ca1b01554a5897 100644 (file)
@@ -687,9 +687,6 @@ ulong get_PERCLK3(void);
 ulong  get_bus_freq  (ulong);
 int get_serial_clock(void);
 
-#if defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx)
-ulong get_ddr_freq(ulong);
-#endif
 #if defined(CONFIG_MPC85xx)
 typedef MPC85xx_SYS_INFO sys_info_t;
 void   get_sys_info  ( sys_info_t * );
@@ -705,6 +702,8 @@ static inline ulong get_ddr_freq(ulong dummy)
 {
        return get_bus_freq(dummy);
 }
+#else
+ulong get_ddr_freq(ulong);
 #endif
 
 #if defined(CONFIG_4xx)