
30 Nov
2019
30 Nov
'19
3:17 a.m.
-----Original Message----- From: Simon Glass sjg@chromium.org Sent: Sunday, November 24, 2019 10:09 PM To: U-Boot Mailing List u-boot@lists.denx.de Cc: Bin Meng bmeng.cn@gmail.com; Simon Glass sjg@chromium.org; Joseph Hershberger joseph.hershberger@ni.com Subject: [EXTERNAL] [PATCH v5 006/101] net: Move the checksum functions to lib/
These functions are used by code outside the network support, so move them to lib/ to be more accessible.
Without this, the functions are only accessible if CONFIG_NET is defined. Many boards do not enable that option but still want to do checksums in this format.
Fix up a few code-style nits while we are here.
Signed-off-by: Simon Glass sjg@chromium.org
Acked-by: Joe Hershberger joe.hershberger@ni.com