Blame view

bootloader/u-boot_2015_04/include/i2c_eeprom.h 340 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  /*
   * Copyright (c) 2014 Google, Inc
   *
   * SPDX-License-Identifier:	GPL-2.0+
   */
  
  #ifndef __I2C_EEPROM
  #define __I2C_EEPROM
  
  struct i2c_eeprom_ops {
  	int (*read)(struct udevice *dev, int offset, uint8_t *buf, int size);
  	int (*write)(struct udevice *dev, int offset, const uint8_t *buf,
  		     int size);
  };
  
  struct i2c_eeprom {
  };
  
  #endif