mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-24 17:48:14 +01:00 
			
		
		
		
	It is useful to be able to quickly locate the FDT map in the image. An easy way to do this is with a pointer at the start or end of the image. Add an 'image header' entry, which places a magic number followed by a pointer to the FDT map. This can be located at the start or end of the image, or at a chosen location. As part of this, update GetSiblingImagePos() to detect missing siblings. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			20 lines
		
	
	
		
			210 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			210 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	binman {
 | |
| 		size = <0x400>;
 | |
| 		sort-by-offset;
 | |
| 		u-boot {
 | |
| 			offset = <0x100>;
 | |
| 		};
 | |
| 		fdtmap {
 | |
| 		};
 | |
| 		image-header {
 | |
| 			location = "start";
 | |
| 		};
 | |
| 	};
 | |
| };
 |