mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	Current test coverage is likely sufficient for the logic used to place sections in the image. However it seems useful to add a test specifically for nested sections, since these could have some unusual interactions. Add a new test for this and aligned sections. This test failed before the refactor to drop the bsection.py file (Section class), but passes now. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			29 lines
		
	
	
		
			311 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			311 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/dts-v1/;
 | 
						|
 | 
						|
/ {
 | 
						|
	#address-cells = <1>;
 | 
						|
	#size-cells = <1>;
 | 
						|
 | 
						|
	binman {
 | 
						|
		u-boot {
 | 
						|
		};
 | 
						|
		section0 {
 | 
						|
			type = "section";
 | 
						|
			align = <0x10>;
 | 
						|
			u-boot {
 | 
						|
			};
 | 
						|
		};
 | 
						|
		section1 {
 | 
						|
			type = "section";
 | 
						|
			align-size = <0x20>;
 | 
						|
			u-boot {
 | 
						|
			};
 | 
						|
			section2 {
 | 
						|
				type = "section";
 | 
						|
				u-boot {
 | 
						|
				};
 | 
						|
			};
 | 
						|
		};
 | 
						|
	};
 | 
						|
};
 |