mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	Introduce ECC Functionality for full memory space as implemented in the DDRSS. The following is done to accomplish this: * Introduce a memory region "ss" to allow dt to provide DDRSS region, which is not the same as "ctl" which is the controller region. * Introduce a "ti,ecc-enable" flag which allows a memorycontroller instance to enable ecc. * Introduce functionality to properly program the DDRSS registers to enable ECC for the full DDR memory space if enabled with above flag. * Expose a k3_ddrss_ddr_fdt_fixup call to allow fixup of fdt blob to account from DDR memory that must be reserved for ECC operation. Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
		
			
				
	
	
		
			17 lines
		
	
	
		
			317 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			317 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Texas Instruments' K3 DDRSS Driver
 | |
|  *
 | |
|  * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef _K3_DDRSS_
 | |
| #define _K3_DDRSS_
 | |
| 
 | |
| struct udevice;
 | |
| 
 | |
| int k3_ddrss_ddr_fdt_fixup(struct udevice *dev, void *blob, struct bd_info *bd);
 | |
| 
 | |
| #endif
 |