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 148 factory_dat.usb_vendor_id = CONFIG_USB_GADGET_VENDOR_NUM; in factoryset_read_eeprom() 149 factory_dat.usb_product_id = CONFIG_USB_GADGET_PRODUCT_NUM; in factoryset_read_eeprom() 201 factory_dat.mac[i] = simple_strtoul((char *)cp1, NULL, 16); in factoryset_read_eeprom() 210 factory_dat.usb_vendor_id = simple_strtoul((char *)buf, in factoryset_read_eeprom() 217 factory_dat.usb_product_id = simple_strtoul((char *)buf, in factoryset_read_eeprom() 220 printf("DFU USB: VID = 0x%4x, PID = 0x%4x\n", factory_dat.usb_vendor_id, in factoryset_read_eeprom() 221 factory_dat.usb_product_id); in factoryset_read_eeprom() 225 (uchar *)"name", factory_dat.disp_name, in factoryset_read_eeprom() 227 debug("display name: %s\n", factory_dat.disp_name); in factoryset_read_eeprom() [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()
|