mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	Save the environment on the SD card for Firefly in the empty space between the SPL and the u-boot image. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			23 lines
		
	
	
		
			357 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			357 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * (C) Copyright 2015 Google, Inc
 | |
|  *
 | |
|  * SPDX-License-Identifier:     GPL-2.0+
 | |
|  */
 | |
| 
 | |
| #ifndef __CONFIG_H
 | |
| #define __CONFIG_H
 | |
| 
 | |
| #include <configs/rk3288_common.h>
 | |
| 
 | |
| #define CONFIG_SPL_MMC_SUPPORT
 | |
| 
 | |
| #define CONFIG_ENV_IS_IN_MMC
 | |
| #define CONFIG_SYS_MMC_ENV_DEV 0
 | |
| /* SPL @ 32k for ~36k
 | |
|  * ENV @ 96k
 | |
|  * u-boot @ 128K
 | |
|  */
 | |
| #define CONFIG_ENV_OFFSET (96 * 1024)
 | |
| 
 | |
| #endif
 |