837xEMDS: Improve the system performance
authorDave Liu <r63238@freescale.com>
Tue, 4 Mar 2008 08:59:22 +0000 (16:59 +0800)
committerWolfgang Denk <wd@denx.de>
Thu, 6 Mar 2008 23:21:03 +0000 (00:21 +0100)
1. Make the CSB bus pipeline depth as 4, and enable
   the repeat mode;
2. Raise the eTSEC emergency priority;
3. Use the highest IP blocks clock.

Signed-off-by: Dave Liu <daveliu@freescale.com>
include/configs/MPC837XEMDS.h

index 61de084cc9da9bdeeac3454ff8e1c76c63966081..2222ef2199532484ac63790bf8aa3c3a8c5d32c5 100644 (file)
        HRCWH_LDP_CLEAR)
 #endif
 
+/* Arbiter Configuration Register */
+#define CFG_ACR_PIPE_DEP       3       /* Arbiter pipeline depth is 4 */
+#define CFG_ACR_RPTCNT         3       /* Arbiter repeat count is 4 */
+
+/* System Priority Control Register */
+#define CFG_SPCR_TSECEP                3       /* eTSEC1/2 emergency has highest priority */
+
 /*
- * eTSEC Clock Config
+ * IP blocks clock configuration
  */
 #define CFG_SCCR_TSEC1CM       1       /* CSB:eTSEC1 = 1:1 */
 #define CFG_SCCR_TSEC2CM       1       /* CSB:eTSEC2 = 1:1 */
+#define CFG_SCCR_SATACM                SCCR_SATACM_1   /* CSB:SATA[0:3] = 1:1 */
 
 /*
  * System IO Config