mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
c3b460a516
commit
8a616cc292
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue