blob: 60c9e14a99d68822a2548d1e0380656e243555fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
From 1247dea7b49d7e66e1848da71e28ff5fe9acf5e1 Mon Sep 17 00:00:00 2001
From: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Date: Thu, 16 Jun 2016 11:41:43 +0300
Subject: [PATCH] uboot: ravb: remove APSR quirk
Remove 2ns delay interoduces by DMAC APSR. This is
not used in linux kernel, hence it is important to skips this
in uboot.
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
drivers/net/ravb.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c
index c168381..f4d7aed 100644
--- a/drivers/net/ravb.c
+++ b/drivers/net/ravb.c
@@ -428,11 +428,6 @@ static int ravb_dmac_init(struct ravb_dev *eth)
/* FIFO size set */
ravb_write(eth, 0x00222210, TGC);
- if (CONFIG_RAVB_PHY_MODE == PHY_INTERFACE_MODE_RGMII_ID) {
- /* delay CLK: 2ns */
- ravb_write(eth, 0x1ul << 14, APSR);
- }
-
return ret;
}
--
1.9.1
|