summaryrefslogtreecommitdiff
path: root/drivers/net/ti
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2019-03-18 13:54:36 +0530
committerTom Rini <trini@konsulko.com>2019-04-12 08:05:54 -0400
commit8a616cc292cd3e31efdbbdd63a72386cef0be833 (patch)
treecebc4464b98f5ecc38fbc5d473f2ea14336a66ef /drivers/net/ti
parentc3b460a516c93ff43194a88d8675598a33bae1aa (diff)
downloadu-boot-8a616cc292cd3e31efdbbdd63a72386cef0be833.tar.gz
u-boot-8a616cc292cd3e31efdbbdd63a72386cef0be833.tar.bz2
u-boot-8a616cc292cd3e31efdbbdd63a72386cef0be833.zip
net: ti: cpsw: Enable DM_FLAG_PRE_RELOC
Add DM_FLAG_PRE_RELOC to make the driver probe in SPL. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Diffstat (limited to 'drivers/net/ti')
-rw-r--r--drivers/net/ti/cpsw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c
index 403c9b98dd..e16c270985 100644
--- 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 */