mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	This image loader works on systems where the flash is directly mapped to the last part of the 32-bit address space. On recent Intel systems (such as apollolake) this is not the case. Reduce the priority of this loader so that another one can override it. While we are here, rename the loader to BOOT_DEVICE_SPI_MMAP since BOOT_DEVICE_BOARD is not very descriptive. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			308 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			308 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_MMAP	= 10,
 | |
| 	BOOT_DEVICE_CROS_VBOOT,
 | |
| };
 | |
| 
 | |
| void jump_to_spl(ulong entry);
 | |
| 
 | |
| #endif
 |