mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	Allow a template to appear in the top level description when using multiple images. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			28 lines
		
	
	
		
			396 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			396 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| /dts-v1/;
 | |
| / {
 | |
| 	binman: binman {
 | |
| 		multiple-images;
 | |
| 
 | |
| 		my_template: template {
 | |
| 			blob-ext@0 {
 | |
| 				filename = "my-blob.bin";
 | |
| 				offset = <0>;
 | |
| 			};
 | |
| 			blob-ext@8 {
 | |
| 				offset = <8>;
 | |
| 			};
 | |
| 		};
 | |
| 
 | |
| 		image {
 | |
| 			pad-byte = <0x40>;
 | |
| 			filename = "my-image.bin";
 | |
| 			insert-template = <&my_template>;
 | |
| 			blob-ext@8 {
 | |
| 				filename = "my-blob2.bin";
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |