Home
last modified time | relevance | path

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

/tools/
A Dupdate_octeon_header.c64 char *substr = NULL; in lookup_board_type() local
90 substr = strcasestr(board_name, "_emmc_stage2"); in lookup_board_type()
91 if (substr && (substr[strlen("_emmc_stage2")] == '\0')) { in lookup_board_type()
95 *substr = '\0'; in lookup_board_type()
103 substr = strcasestr(board_name, "_nand_stage2"); in lookup_board_type()
104 if (substr && (substr[strlen("_nand_stage2")] == '\0')) { in lookup_board_type()
108 *substr = '\0'; in lookup_board_type()
116 substr = strcasestr(board_name, "_spi_stage2"); in lookup_board_type()
117 if (substr && (substr[strlen("_spi_stage2")] == '\0')) { in lookup_board_type()
119 *substr = '\0'; in lookup_board_type()

Completed in 3 milliseconds