mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	A feature of CBFS is that it allows files to be positioned at particular offset (as with binman in general). This is useful to support execute-in-place (XIP) code, since this may not be relocatable. Add a new cbfs-offset property to control this. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			27 lines
		
	
	
		
			362 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			362 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	binman {
 | |
| 		sort-by-offset;
 | |
| 		end-at-4gb;
 | |
| 		size = <0x200>;
 | |
| 		cbfs {
 | |
| 			size = <0x200>;
 | |
| 			offset = <0xfffffe00>;
 | |
| 			u-boot {
 | |
| 				cbfs-offset = <0x40>;
 | |
| 				cbfs-type = "raw";
 | |
| 			};
 | |
| 			u-boot-dtb {
 | |
| 				cbfs-offset = <0x140>;
 | |
| 				cbfs-type = "raw";
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |