From: Faiz Abbas Date: Mon, 18 Mar 2019 08:24:36 +0000 (+0530) Subject: net: ti: cpsw: Enable DM_FLAG_PRE_RELOC X-Git-Tag: v2019.07-rc1~31^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a616cc292cd3e31efdbbdd63a72386cef0be833;p=platform%2Fkernel%2Fu-boot.git 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 --- diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 403c9b9..e16c270 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 */