mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 20:18:18 +00:00 
			
		
		
		
	Allow templates to be used inside a section, not just in the top-level /binman node. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			53 lines
		
	
	
		
			600 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			600 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	binman {
 | |
| 		u-boot-img {
 | |
| 		};
 | |
| 
 | |
| 		common_part: template {
 | |
| 			u-boot {
 | |
| 			};
 | |
| 
 | |
| 			intel-vga {
 | |
| 				filename = "vga.bin";
 | |
| 			};
 | |
| 		};
 | |
| 
 | |
| 		first {
 | |
| 			type = "section";
 | |
| 			insert-template = <&common_part>;
 | |
| 
 | |
| 			u-boot-dtb {
 | |
| 			};
 | |
| 		};
 | |
| 
 | |
| 		section {
 | |
| 			second {
 | |
| 				type = "section";
 | |
| 				insert-template = <&common_part>;
 | |
| 
 | |
| 				u-boot-dtb {
 | |
| 				};
 | |
| 
 | |
| 				intel-vga {
 | |
| 					filename = "vga2.bin";
 | |
| 				};
 | |
| 			};
 | |
| 		};
 | |
| 
 | |
| 		second {
 | |
| 			type = "section";
 | |
| 			insert-template = <&common_part>;
 | |
| 
 | |
| 			u-boot-dtb {
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |