1 /* 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 11 int read_tdx_eeprom_data(u32 eeprom_id, int offset, uint8_t *buf, int size); 12 int write_tdx_eeprom_data(u32 eeprom_id, int offset, uint8_t *buf, int size); 13 14 #endif /* _TDX_EEPROM_H */ 15