mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	At present it is not possible to discover the contraints to repacking an image (e.g. maximum section size) since this information is not preserved from the original image description. Add new 'orig-offset' and 'orig-size' properties to hold this. Add them to the main device tree in the image. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			24 lines
		
	
	
		
			269 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			269 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	binman {
 | |
| 		allow-repack;
 | |
| 		section {
 | |
| 			size = <0x300>;
 | |
| 			u-boot-dtb {
 | |
| 				offset = <4>;
 | |
| 			};
 | |
| 		};
 | |
| 		u-boot-spl-dtb {
 | |
| 		};
 | |
| 		u-boot-tpl-dtb {
 | |
| 		};
 | |
| 		fdtmap {
 | |
| 		};
 | |
| 	};
 | |
| };
 |