mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-25 01:58:13 +01:00 
			
		
		
		
	While it is useful and efficient to build images in a single pass from a unified description, it is sometimes desirable to update the image later. Add support for replace an existing file with one of the same size. This avoids needing to repack the file. Support for more advanced updates will come in future patches. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			34 lines
		
	
	
		
			351 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			351 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	binman {
 | |
| 		multiple-images;
 | |
| 		first-image {
 | |
| 			size = <0xc00>;
 | |
| 			u-boot {
 | |
| 			};
 | |
| 			fdtmap {
 | |
| 			};
 | |
| 			u-boot-dtb {
 | |
| 			};
 | |
| 			image-header {
 | |
| 				location = "end";
 | |
| 			};
 | |
| 		};
 | |
| 
 | |
| 		image {
 | |
| 			fdtmap {
 | |
| 			};
 | |
| 			u-boot {
 | |
| 			};
 | |
| 			u-boot-dtb {
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |