]> Git Repo - u-boot.git/blame - include/tables_csum.h
board: Add new Broadcom Northstar board
[u-boot.git] / include / tables_csum.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
2b445e4d
AG
2/*
3 * Copyright (C) 2015, Bin Meng <[email protected]>
2b445e4d
AG
4 */
5
6#ifndef _TABLES_CSUM_H_
7#define _TABLES_CSUM_H_
8
2df59b2b
TR
9/**
10 * table_compute_checksum() - Compute a table checksum
11 *
12 * This computes an 8-bit checksum for the configuration table.
13 * All bytes in the configuration table, including checksum itself and
14 * reserved bytes must add up to zero.
15 *
16 * @v: configuration table base address
17 * @len: configuration table size
18 * @return: the 8-bit checksum
19 */
20u8 table_compute_checksum(void *v, int len);
2b445e4d
AG
21
22#endif
This page took 0.294239 seconds and 4 git commands to generate.