Lines Matching refs:board_detected
68 static int setenv_fdt_file(int board_detected) in setenv_fdt_file() argument
70 if (board_detected < 0 || board_detected >= ENGICAM_BOARDS) in setenv_fdt_file()
73 if (!board_fdt_file[board_detected]) in setenv_fdt_file()
76 env_set("fdt_file", board_fdt_file[board_detected]); in setenv_fdt_file()
109 static int fixup_enet_clock(enum engicam_boards board_detected) in fixup_enet_clock() argument
114 switch (board_detected) { in fixup_enet_clock()
137 enum engicam_boards board_detected = IMX6Q_ICORE; in board_late_init() local
163 board_detected = engicam_board_detect(); in board_late_init()
164 if (board_detected < 0) in board_late_init()
167 fixup_enet_clock(board_detected); in board_late_init()
168 setenv_fdt_file(board_detected); in board_late_init()