projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c40739
)
x86/pci: Remove OLPC dead code
author
Kunwu Chan
<chentao@kylinos.cn>
Thu, 25 Jan 2024 03:06:23 +0000
(11:06 +0800)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 3 May 2024 22:09:44 +0000
(17:09 -0500)
3ef0e1f8cad0
("x86: olpc: add One Laptop Per Child architecture support")
added a commented-out EHCI config section that has never been used.
Remove this dead code.
Link:
https://lore.kernel.org/r/20240125030623.513902-1-chentao@kylinos.cn
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/olpc.c
patch
|
blob
|
history
diff --git
a/arch/x86/pci/olpc.c
b/arch/x86/pci/olpc.c
index f3aab76e357a07f6d78d34c2b62119af4b7e0d4e..4b18c6404363e70b161e6eb43b019ba68982af63 100644
(file)
--- a/
arch/x86/pci/olpc.c
+++ b/
arch/x86/pci/olpc.c
@@
-154,9
+154,6
@@
static const uint32_t ehci_hdr[] = { /* dev f function 4 - devfn = 7d */
0x0, 0x40, 0x0, 0x40a, /* CapPtr INT-D, IRQA */
0xc8020001, 0x0, 0x0, 0x0, /* Capabilities - 40 is R/O, 44 is
mask 8103 (power control) */
-#if 0
- 0x1, 0x40080000, 0x0, 0x0, /* EECP - see EHCI spec section 2.1.7 */
-#endif
0x01000001, 0x0, 0x0, 0x0, /* EECP - see EHCI spec section 2.1.7 */
0x2020, 0x0, 0x0, 0x0, /* (EHCI page 8) 60 SBRN (R/O),
61 FLADJ (R/W), PORTWAKECAP */