imx: cpu: restrict get_boot_device
i.MX8MN has its own get_boot_device, so restrict with i.MX8MQ and i.MX8MM. Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
		
							parent
							
								
									1cbebc7862
								
							
						
					
					
						commit
						b890c4aede
					
				|  | @ -377,7 +377,7 @@ u32 get_cpu_temp_grade(int *minc, int *maxc) | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #if defined(CONFIG_MX7) || defined(CONFIG_IMX8M) | #if defined(CONFIG_MX7) || defined(CONFIG_IMX8MQ) || defined(CONFIG_IMX8MM) | ||||||
| enum boot_device get_boot_device(void) | enum boot_device get_boot_device(void) | ||||||
| { | { | ||||||
| 	struct bootrom_sw_info **p = | 	struct bootrom_sw_info **p = | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue