Home
last modified time | relevance | path

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

/u-boot/board/xilinx/common/
A Dboard.c108 struct xilinx_legacy_format *eeprom_content; in xilinx_read_eeprom_legacy() local
111 size = sizeof(*eeprom_content); in xilinx_read_eeprom_legacy()
113 eeprom_content = calloc(1, size); in xilinx_read_eeprom_legacy()
114 if (!eeprom_content) in xilinx_read_eeprom_legacy()
118 eeprom_content); in xilinx_read_eeprom_legacy()
123 free(eeprom_content); in xilinx_read_eeprom_legacy()
132 printf(" Board SN:\t%s\n", eeprom_content->board_sn); in xilinx_read_eeprom_legacy()
139 strcpy(desc->name, eeprom_content->board_name); in xilinx_read_eeprom_legacy()
140 strcpy(desc->revision, eeprom_content->board_revision); in xilinx_read_eeprom_legacy()
141 strcpy(desc->serial, eeprom_content->board_sn); in xilinx_read_eeprom_legacy()
[all …]

Completed in 3 milliseconds