Searched refs:factory_dat (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/board/siemens/common/ |
H A D | factoryset.c | 27 struct factorysetcontainer factory_dat; variable 221 factory_dat.usb_product_id); in factoryset_read_eeprom() 225 (uchar *)"name", factory_dat.disp_name, in factoryset_read_eeprom() 231 (uchar *)"num", factory_dat.serial, in factoryset_read_eeprom() 244 (uchar *)"id", factory_dat.asn, in factoryset_read_eeprom() 246 debug("factoryset asn: %s\n", factory_dat.asn); in factoryset_read_eeprom() 248 factory_dat.asn[0] = 0; in factoryset_read_eeprom() 253 factory_dat.comp_version, in factoryset_read_eeprom() 274 if (is_valid_ethaddr(factory_dat.mac)) { in factoryset_mac_env_set() 275 memcpy(mac_addr, factory_dat.mac, 6); in factoryset_mac_env_set() [all …]
|
H A D | factoryset.h | 28 extern struct factorysetcontainer factory_dat;
|
/openbmc/u-boot/board/siemens/pxm2/ |
H A D | board.c | 223 if (!is_valid_ethaddr(factory_dat.mac)) in board_eth_init() 226 eth_env_set_enetaddr("ethaddr", factory_dat.mac); in board_eth_init() 418 if (factory_dat.pxm50) in board_video_init() 438 if (factory_dat.asn[0] != 0) { in board_late_init() 441 if (strncmp((const char *)factory_dat.asn, "PXM50", 5) == 0) in board_late_init() 442 factory_dat.pxm50 = 1; in board_late_init() 444 factory_dat.pxm50 = 0; in board_late_init() 445 sprintf(tmp, "%s_%s", factory_dat.asn, in board_late_init() 446 factory_dat.comp_version); in board_late_init() 451 factory_dat.pxm50 = 1; in board_late_init() [all …]
|
/openbmc/u-boot/board/siemens/rut/ |
H A D | board.c | 448 if (strncmp((const char *)factory_dat.disp_name, in board_video_init() 450 strlen((const char *)factory_dat.disp_name)) == 0) { in board_video_init() 451 printf("DISPLAY: %s\n", factory_dat.disp_name); in board_video_init() 458 factory_dat.disp_name, lcd_panels[i].name); in board_video_init() 476 if (factory_dat.asn[0] != 0) in board_late_init() 477 sprintf(tmp, "%s_%s", factory_dat.asn, in board_late_init() 478 factory_dat.comp_version); in board_late_init()
|
/openbmc/u-boot/board/siemens/draco/ |
H A D | board.c | 271 if (factory_dat.asn[0] != 0) { in board_late_init() 272 env_set("dtb_name", (char *)factory_dat.asn); in board_late_init()
|