mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	AM642 allows for booting from primary or backup boot media. Both media can be chosen individually based on switch settings. ROM looks for a valid image in primary boot media, if not found then looks in backup boot media. In order to pass this boot media information to boot loader, ROM stores a value at a particular address. Add support for reading this information and determining the boot media correctly. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			407 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			407 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
 | |
|  *	Lokesh Vutla <lokeshvutla@ti.com>
 | |
|  */
 | |
| #ifndef _ASM_ARCH_SPL_H_
 | |
| #define _ASM_ARCH_SPL_H_
 | |
| 
 | |
| #ifdef CONFIG_SOC_K3_AM6
 | |
| #include "am6_spl.h"
 | |
| #endif
 | |
| 
 | |
| #ifdef CONFIG_SOC_K3_J721E
 | |
| #include "j721e_spl.h"
 | |
| #endif
 | |
| 
 | |
| #ifdef CONFIG_SOC_K3_AM642
 | |
| #include "am64_spl.h"
 | |
| #endif
 | |
| #endif /* _ASM_ARCH_SPL_H_ */
 |