Home
last modified time | relevance | path

Searched refs:eeprom_buf (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/board/siemens/common/
H A Dfactoryset.c29 #define fact_get_char(i) *((char *)&eeprom_buf[i])
31 static int fact_match(unsigned char *eeprom_buf, uchar *s1, int i2) in fact_match() argument
46 static int get_factory_val(unsigned char *eeprom_buf, int size, uchar *name, in get_factory_val() argument
59 val = fact_match(eeprom_buf, (uchar *)name, i); in get_factory_val()
82 int get_factory_record_val(unsigned char *eeprom_buf, int size, uchar *record, in get_factory_record_val() argument
99 c = strncmp((char *)&eeprom_buf[i + 1], (char *)record, in get_factory_record_val()
126 tmp = eeprom_buf[endpos]; in get_factory_record_val()
127 eeprom_buf[endpos] = end; in get_factory_record_val()
128 ret = get_factory_val(&eeprom_buf[pos], in get_factory_record_val()
131 eeprom_buf[endpos] = tmp; in get_factory_record_val()
[all …]
/rk3399_rockchip-uboot/cmd/
H A Deeprom.c266 static unsigned char eeprom_buf[CONFIG_SYS_EEPROM_SIZE]; variable
326 rcode = eeprom_read(i2c_addr, 0, eeprom_buf, CONFIG_SYS_EEPROM_SIZE); in eeprom_execute_command()
330 eeprom_layout_setup(&layout, eeprom_buf, CONFIG_SYS_EEPROM_SIZE, in eeprom_execute_command()