libpayload: Switch to commonlib ipchksum() algorithm

This patch moves libpayload over to the commonlib implementation for
calculating the IP checksum.

Change-Id: Ie8d323ce9f8d946758619761b4b22d54bce222b6
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80253
Reviewed-by: Jakub Czapiga <czapiga@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
Julius Werner
2024-01-30 17:22:34 -08:00
parent d385113cc4
commit 177aee2c1f
5 changed files with 4 additions and 94 deletions

View File

@ -30,7 +30,7 @@
#define _COREBOOT_TABLES_H
#include <arch/types.h>
#include <ipchksum.h>
#include <commonlib/bsd/ipchksum.h>
#include <stdint.h>
enum {