mirror of
				https://review.coreboot.org/flashrom.git
				synced 2025-11-04 07:00:39 +01:00 
			
		
		
		
	libflashrom: Add new layout_compare() function with test
Add a new layout_compare() function which will be used in a subsequent
patch to test equality between two layouts. Add a test function for
layout_compare(). Fix a small bug in compare_region_with_dump() which
was introduced in commit 74a1a54892 ("libflashrom: Fix comparison of
layout romentry regions"), which was discovered with the new test.
Change-Id: Ib37556bb83d4e1c26545a90b49128f1f78ffe2c6
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/89629
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Anastasia Klimchuk
					
				
			
			
				
	
			
			
			
						parent
						
							8e0bfee62f
						
					
				
				
					commit
					b0b975d0ea
				
			@@ -13,6 +13,7 @@ LIBFLASHROM_1.0 {
 | 
			
		||||
    flashrom_image_write;
 | 
			
		||||
    flashrom_init;
 | 
			
		||||
    flashrom_layout_add_region;
 | 
			
		||||
    flashrom_layout_compare;
 | 
			
		||||
    flashrom_layout_exclude_region;
 | 
			
		||||
    flashrom_layout_get_region_range;
 | 
			
		||||
    flashrom_layout_include_region;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user