summaryrefslogtreecommitdiff
path: root/xhfc
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2012-02-14 17:48:28 +0100
committerGuillaume Knispel <gknispel@proformatique.com>2012-02-14 17:49:27 +0100
commitb1756df2e77ce1d6a6d65fd8b64b9534e6c876a4 (patch)
tree0e7f998768d8522d63a07587fc9e4efadeee9856 /xhfc
parent053426f8092b449c5a18f1bdb59eb4853e60ee2b (diff)
configure LEB CS1
Diffstat (limited to 'xhfc')
-rw-r--r--xhfc/xhfc_leb.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/xhfc/xhfc_leb.c b/xhfc/xhfc_leb.c
index cf10a87..42e7b9d 100644
--- a/xhfc/xhfc_leb.c
+++ b/xhfc/xhfc_leb.c
@@ -115,8 +115,21 @@ void leb_init(struct xhfc_pi *leb)
| LEB_TCS_BYTE_EN,
&regs->timing_cs[0]);
+ writel( LEB_TCS_CS_EN
+ | LEB_TCS_T1_ADDR_TM(3)
+ | LEB_TCS_T2_SU_CS_TM(3)
+ | LEB_TCS_T3_STRB_TM(3)
+ | LEB_TCS_T4_HOLD_TM(3)
+ | LEB_TCS_T5_RCVRY_TM(3)
+ | LEB_TCS_CYC_TYPE_INTEL
+ | LEB_TCS_CNFG_512_B
+ | LEB_TCS_SPLT_EN
+ | LEB_TCS_WR_EN
+ | LEB_TCS_BYTE_EN,
+ &regs->timing_cs[1]);
+
/* We are true paranoiacs: */
- (void)readl(&regs->timing_cs[0]);
+ (void)readl(&regs->timing_cs[1]);
/* That's it! :-) */
}