Home
last modified time | relevance | path

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

/openbmc/u-boot/board/siemens/common/
H A Dfactoryset.c22 #define EEPR_PG_SZ 0x80 macro
24 #define OFF_PG EEPROM_FATORYSET_OFFSET/EEPR_PG_SZ
167 pages = size / EEPR_PG_SZ; in factoryset_read_eeprom()
177 if (i2c_read(i2c_addr, (OFF_PG + i) * EEPR_PG_SZ, 2, in factoryset_read_eeprom()
178 eeprom_buf + (i * EEPR_PG_SZ), EEPR_PG_SZ)) in factoryset_read_eeprom()
181 if (size % EEPR_PG_SZ) in factoryset_read_eeprom()
182 if (i2c_read(i2c_addr, (OFF_PG + pages) * EEPR_PG_SZ, 2, in factoryset_read_eeprom()
183 eeprom_buf + (pages * EEPR_PG_SZ), in factoryset_read_eeprom()
184 (size % EEPR_PG_SZ))) in factoryset_read_eeprom()