Re: [PATCH v6 006/102] net: Move the checksum functions to lib/

2019-12-07 Thread Bin Meng
On Sun, Dec 8, 2019 at 9:10 AM Bin Meng wrote: > > On Sat, Dec 7, 2019 at 12:46 PM Simon Glass wrote: > > > > 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 in SPL/TPL only if >

Re: [PATCH v6 006/102] net: Move the checksum functions to lib/

2019-12-07 Thread Bin Meng
On Sat, Dec 7, 2019 at 12:46 PM Simon Glass wrote: > > 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 in SPL/TPL only if > CONFIG_SPL/TPL_NET are defined. Many boards do not enable

[PATCH v6 006/102] net: Move the checksum functions to lib/

2019-12-06 Thread Simon Glass
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 in SPL/TPL only if CONFIG_SPL/TPL_NET are defined. Many boards do not enable those option but still want to do checksums in this format. Fix