
Hi Bin,
On 10 January 2015 at 08:47, Bin Meng bmeng.cn@gmail.com wrote:
Hi Simon,
On Fri, Jan 9, 2015 at 11:30 AM, Simon Glass sjg@chromium.org wrote:
The existing IP checksum function is only accessible to the 'coreboot' cpu. Move it into the common area and rename it slightly to remove the abbreviations.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Refactor IP checksum patches
arch/x86/cpu/Makefile | 1 + arch/x86/cpu/coreboot/Makefile | 1 - arch/x86/cpu/coreboot/ipchecksum.c | 55 ------------------------- arch/x86/cpu/coreboot/tables.c | 8 ++-- arch/x86/cpu/ip_checksum.c | 34 +++++++++++++++
What about the namings we discussed in the v1 patch thread? ip_xxx indicates ip protocol, but acutally they are not.
Is it not? This is not actually CMOS-specific - e.g. it is used by Coreboot to send data through to U-Boot in the tables it provides.
I thought it was an IP checksum...
Regards, Simon