]> git.sur5r.net Git - u-boot/commitdiff
mpc83xx: add TSECs' HRCWH masks for MPC837x processors
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 2 Oct 2008 14:31:59 +0000 (18:31 +0400)
committerKim Phillips <kim.phillips@freescale.com>
Tue, 21 Oct 2008 23:34:05 +0000 (18:34 -0500)
We'll use these masks to parse TSEC modes out of HRCWH.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
include/mpc83xx.h

index 7f30d683b9daabcba8fdcf1ba053f2525db2dabe..ccf1077dccc926bea1233e37a3acd13f7dc5c112 100644 (file)
 #define HRCWH_RL_EXT_LEGACY            0x00000000
 #define HRCWH_RL_EXT_NAND              0x00040000
 
+#define HRCWH_TSEC1M_MASK              0x0000E000
 #define HRCWH_TSEC1M_IN_MII            0x00000000
 #define HRCWH_TSEC1M_IN_RMII           0x00002000
 #define HRCWH_TSEC1M_IN_RGMII          0x00006000
 #define HRCWH_TSEC1M_IN_RTBI           0x0000A000
 #define HRCWH_TSEC1M_IN_SGMII          0x0000C000
 
+#define HRCWH_TSEC2M_MASK              0x00001C00
 #define HRCWH_TSEC2M_IN_MII            0x00000000
 #define HRCWH_TSEC2M_IN_RMII           0x00000400
 #define HRCWH_TSEC2M_IN_RGMII          0x00000C00