blob: a6772d2f3f22e23bda1b2cb5c7a06e96ea86f57f [file] [log] [blame]
Igor Opaniukdcb531b2020-07-15 13:30:53 +03001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (c) 2020 Toradex
4 */
5
6#ifndef _TDX_EEPROM_H
7#define _TDX_EEPROM_H
8
9#include <i2c_eeprom.h>
10
11int read_tdx_eeprom_data(u32 eeprom_id, int offset, uint8_t *buf, int size);
12int write_tdx_eeprom_data(u32 eeprom_id, int offset, uint8_t *buf, int size);
13
14#endif /* _TDX_EEPROM_H */