toradex: configblock: fix interactive mode it handling
Restore "Is the module an IT version? [y/N]" for "cfgblock create"
interactive mode command, which was leading to invalid detection
of 0051 Colibri iMX8DX 1GB WB module;
Fixes: a5b5ad4d85 ("toradex: tdx-cfg-clock: add new i.mx 8m mini/plus skus")
Related-to: ELB-3482
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
			
			
This commit is contained in:
		
							parent
							
								
									c7b24915cf
								
							
						
					
					
						commit
						ab98ebf79c
					
				| 
						 | 
					@ -368,7 +368,10 @@ static int get_cfgblock_interactive(void)
 | 
				
			||||||
	if (cpu_is_pxa27x())
 | 
						if (cpu_is_pxa27x())
 | 
				
			||||||
		sprintf(message, "Is the module the 312 MHz version? [y/N] ");
 | 
							sprintf(message, "Is the module the 312 MHz version? [y/N] ");
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		it = 'y';
 | 
							sprintf(message, "Is the module an IT version? [y/N] ");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						len = cli_readline(message);
 | 
				
			||||||
 | 
						it = console_buffer[0];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(CONFIG_TARGET_APALIS_IMX8) || \
 | 
					#if defined(CONFIG_TARGET_APALIS_IMX8) || \
 | 
				
			||||||
		defined(CONFIG_TARGET_APALIS_IMX8X) || \
 | 
							defined(CONFIG_TARGET_APALIS_IMX8X) || \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue