mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	Add the required CPU code so that TPL builds correctly. Also update the SPL code to deal with being booted from TPL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			324 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			324 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (C) 2017 Google, Inc
 | |
|  * Written by Simon Glass <sjg@chromium.org>
 | |
|  */
 | |
| 
 | |
| #ifndef __asm_spl_h
 | |
| #define __asm_spl_h
 | |
| 
 | |
| #define CONFIG_SPL_BOARD_LOAD_IMAGE
 | |
| 
 | |
| enum {
 | |
| 	BOOT_DEVICE_SPI		= 10,
 | |
| 	BOOT_DEVICE_BOARD,
 | |
| 	BOOT_DEVICE_CROS_VBOOT,
 | |
| };
 | |
| 
 | |
| void jump_to_spl(ulong entry);
 | |
| 
 | |
| #endif
 |