projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3b460a
)
net: ti: cpsw: Enable DM_FLAG_PRE_RELOC
author
Faiz Abbas
<faiz_abbas@ti.com>
Mon, 18 Mar 2019 08:24:36 +0000
(13:54 +0530)
committer
Tom Rini
<trini@konsulko.com>
Fri, 12 Apr 2019 12:05:54 +0000
(08:05 -0400)
Add DM_FLAG_PRE_RELOC to make the driver probe in SPL.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
drivers/net/ti/cpsw.c
patch
|
blob
|
history
diff --git
a/drivers/net/ti/cpsw.c
b/drivers/net/ti/cpsw.c
index 403c9b98dd87ef1e9d8a195c9e15c92747117dfa..e16c270985a7451e125f4ce5c762536677caebe4 100644
(file)
--- a/
drivers/net/ti/cpsw.c
+++ b/
drivers/net/ti/cpsw.c
@@
-1379,6
+1379,6
@@
U_BOOT_DRIVER(eth_cpsw) = {
.probe = cpsw_eth_probe,
.ops = &cpsw_eth_ops,
.priv_auto_alloc_size = sizeof(struct cpsw_priv),
- .flags = DM_FLAG_ALLOC_PRIV_DMA,
+ .flags = DM_FLAG_ALLOC_PRIV_DMA
| DM_FLAG_PRE_RELOC
,
};
#endif /* CONFIG_DM_ETH */