瀏覽代碼

mpc83xx: Add 831x support to global_data.h

Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood 18 年之前
父節點
當前提交
0f253283a3
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      include/asm-ppc/global_data.h

+ 4 - 2
include/asm-ppc/global_data.h

@@ -55,11 +55,13 @@ typedef	struct	global_data {
 #if defined(CONFIG_MPC83XX)
 	/* There are other clocks in the MPC83XX */
 	u32 csb_clk;
-#if defined (CONFIG_MPC834X)
+#if defined (CONFIG_MPC834X) || defined(CONFIG_MPC831X)
 	u32 tsec1_clk;
 	u32 tsec2_clk;
-	u32 usbmph_clk;
 	u32 usbdr_clk;
+#endif
+#if defined (CONFIG_MPC834X)
+	u32 usbmph_clk;
 #endif /* CONFIG_MPC834X */
 	u32 core_clk;
 	u32 i2c1_clk;