mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	This is supposed to be a build-system flag. Move it there so we can define it before linux/kconfig.h is included. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			36 lines
		
	
	
		
			689 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			689 B
		
	
	
	
		
			INI
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (C) 2020
 | |
|  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
 | |
|  */
 | |
| 
 | |
| #include <config.h>
 | |
| 
 | |
| /* image version */
 | |
| 
 | |
| IMAGE_VERSION 2
 | |
| 
 | |
| /*
 | |
|  * Boot Device : one of
 | |
|  * spi/sd/nand/onenand, qspi/nor
 | |
|  */
 | |
| 
 | |
| BOOT_FROM	sd
 | |
| 
 | |
| /*
 | |
|  * Device Configuration Data (DCD)
 | |
|  *
 | |
|  * Each entry must have the format:
 | |
|  * Addr-type           Address        Value
 | |
|  *
 | |
|  * where:
 | |
|  *	Addr-type register length (1,2 or 4 bytes)
 | |
|  *	Address	  absolute address of the register
 | |
|  *	value	  value to be stored in the register
 | |
|  */
 | |
| 
 | |
| /* Set all FlexRAM as OCRAM(01b) */
 | |
| DATA 4 0x400AC044 0x00005555
 | |
| /* Use FLEXRAM_BANK_CFG to config FlexRAM */
 | |
| SET_BIT 4 0x400AC040 0x4
 |