Skip to content

*** Initial Wiznet W5500 support ***

[email protected] u-boot 9 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest1 patch 0 repliesNew
  2. v81 patch 0 repliesSuperseded
  3. v71 patch 1 replySuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v61 patch0 repliesSuperseded
v51 patch0 repliesSuperseded
v41 patch7 repliesSuperseded
v31 patch1 replySuperseded
v21 patch1 replySuperseded
v11 patch3 repliesSuperseded

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Initial support for Wiznet W5500drivers/net/Kconfig drivers/net/Makefile drivers/net/w5500.c+630 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v9 yet.

Read the v9 thread

Cover letter [PATCH v9 0/1] *** Initial Wiznet W5500 support ***

From: Jean-Marie Verdun <[email protected]>

v9
Fix compilation issue from a missing parenthesis in v8. Fix unused variable from v8 (check)
Fix a crash when using transfer bigger then 1500 bytes identified with http transfer instead of tftp. The device merge multiple packets and the local buffer into the driver must be at least 16kB

v8
Fix error propagation from dm_spi_xfer calls and successors Fix memory allocation check into probe

v7
Fix bug exposed by using LWIP TCP/IP as primary network backend

v6
Switch all log to dev_dbg call

v5
Remove of_to_plat init
Remove unused cmd variable from probe
Remove socket open command from hw mac setup code Remove read back mac address command from hw mac setup code Improve comment about RX_RSR register usage
Check error code of spi_write calls
Check error code from spi_command
Enhance some if statement
Order variable definition per line length
Return ENOMEM in case malloc fail

v4
Fix some comment typos
Remove unnecessary IFDEF
Drop w5500_eth_tx_hand_f definition and struct element as they are unused Reorder function to avoid predefinition
Reorder variable definition per data size in functions
Fix return value with spi_read and spi_read16
Drop return value definition into spi_write16
Define MAX_PACKET_SZ to 9000 bytes
Use dynamic allocation for readbulk
Realign readpoll_timeout call
Add comment to enhance loop clarity on receive buffer length Remove mode variable into write_hwaddr
Invert some direct if loop for indirect as to reduce code complexity Remove imr variable into w5500_socket_intr_mask function
Drop rtr variable into probe function

v3
Remove Global definition
Replace polling by read_poll_timeout
Remove unused function
Add empty lines before returns statement
Remove declaration and code mix
Switch to dev_dbg
Relocate read/write helpers to top of file
Remove include and incorporate it into the code

v2
Rebase source tree to create patch against top of tree and avoid issues with Kconfig and Makefile
Recheck checkpatch.pl output as to minimize issues to CHECK state
CHECK issues reported are coming from copy/paste section from the linux kernel driver, and aren't processed as being strong issues.
command ran scripts/checkpatch.pl --no-tree v2-0001-Initial-support-for-Wiznet-W5500.patch

Jean-Marie Verdun (1):
Initial support for Wiznet W5500

 drivers/net/Kconfig  |  10 +
 drivers/net/Makefile |   1 +
 drivers/net/w5500.c  | 619 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 630 insertions(+)
 create mode 100644 drivers/net/w5500.c
Signature · 1 line
2.43.0