projects
/
platform
/
kernel
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
malloc_simple: Add support for switching to DRAM heap
[platform/kernel/u-boot.git]
/
include
/
i2c_eeprom.h
1
/*
2
* Copyright (c) 2014 Google, Inc
3
*
4
* SPDX-License-Identifier: GPL-2.0+
5
*/
6
7
#ifndef __I2C_EEPROM
8
#define __I2C_EEPROM
9
10
struct i2c_eeprom_ops {
11
int (*read)(struct udevice *dev, int offset, uint8_t *buf, int size);
12
int (*write)(struct udevice *dev, int offset, const uint8_t *buf,
13
int size);
14
};
15
16
struct i2c_eeprom {
17
};
18
19
#endif