From 1befb38b868248dda4e84a57aa779f7e8c0b85c0 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Fri, 19 Aug 2016 01:23:21 +0200 Subject: x86: Move table csum into separate file We need the checksum function without all the other table functionality soon, so let's split it out into its own C file. Signed-off-by: Alexander Graf Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- include/tables_csum.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/tables_csum.h (limited to 'include') diff --git a/include/tables_csum.h b/include/tables_csum.h new file mode 100644 index 00000000000..a021efbbc6d --- /dev/null +++ b/include/tables_csum.h @@ -0,0 +1,12 @@ +/* + * Copyright (C) 2015, Bin Meng + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _TABLES_CSUM_H_ +#define _TABLES_CSUM_H_ + +u8 table_compute_checksum(void *v, int len); + +#endif -- cgit v1.2.3