Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-omap2/
Dutils.c172 char serial_string[17] = { 0 }; in omap_die_id_serial() local
177 snprintf(serial_string, sizeof(serial_string), in omap_die_id_serial()
180 env_set("serial#", serial_string); in omap_die_id_serial()
186 char *serial_string; in omap_die_id_get_board_serial() local
189 serial_string = env_get("serial#"); in omap_die_id_get_board_serial()
191 if (serial_string) { in omap_die_id_get_board_serial()
192 serial = simple_strtoull(serial_string, NULL, 16); in omap_die_id_get_board_serial()
/external/u-boot/board/warp7/
Dwarp7.c208 char serial_string[0x20]; in board_late_init() local
231 snprintf(serial_string, sizeof(serial_string), "WaRP7-0x%08x%08x", in board_late_init()
233 env_set("serial#", serial_string); in board_late_init()
/external/u-boot/board/theobroma-systems/puma_rk3399/
Dpuma-rk3399.c211 char *serial_string; in get_board_serial() local
214 serial_string = env_get("serial#"); in get_board_serial()
216 if (serial_string) in get_board_serial()
217 serial = simple_strtoull(serial_string, NULL, 16); in get_board_serial()
/external/u-boot/board/raspberrypi/rpi/
Drpi.c372 char serial_string[17] = { 0 }; in set_serial_number() local
387 snprintf(serial_string, sizeof(serial_string), "%016" PRIx64, in set_serial_number()
389 env_set("serial#", serial_string); in set_serial_number()
/external/u-boot/board/sunxi/
Dboard.c635 char *serial_string; in get_board_serial() local
638 serial_string = env_get("serial#"); in get_board_serial()
640 if (serial_string) { in get_board_serial()
641 serial = simple_strtoull(serial_string, NULL, 16); in get_board_serial()
691 char serial_string[17] = { 0 }; in setup_environment() local
745 snprintf(serial_string, sizeof(serial_string), in setup_environment()
748 env_set("serial#", serial_string); in setup_environment()
/external/u-boot/arch/arm/mach-stm32mp/
Dcpu.c331 char serial_string[25]; in setup_serial_number() local
350 sprintf(serial_string, "%08x%08x%08x", otp[0], otp[1], otp[2]); in setup_serial_number()
351 env_set("serial#", serial_string); in setup_serial_number()