Skip to content

Commit

Permalink
net: stmmac: Add dcache flush functions for JH7100
Browse files Browse the repository at this point in the history
Note: including uSDK v0.9->v1.0 patch

[geert: Rebase to v5.13-rc1]
Warnings fixed by Matteo.

Signed-off-by: Matteo Croce <mcroce@microsoft.com>
  • Loading branch information
Tom authored and esmil committed Jun 6, 2021
1 parent f4d8984 commit d4c4044
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 4 deletions.
3 changes: 3 additions & 0 deletions drivers/net/ethernet/stmicro/stmmac/descs.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ struct dma_extended_desc {
__le32 des5; /* Reserved */
__le32 des6; /* Tx/Rx Timestamp Low */
__le32 des7; /* Tx/Rx Timestamp High */
#if defined(CONFIG_FPGA_GMAC_FLUSH_DDR)
__le32 pad[8];
#endif
};

/* Enhanced descriptor for TBS */
Expand Down
Loading

0 comments on commit d4c4044

Please sign in to comment.