mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 20:18:18 +00:00 
			
		
		
		
	Add an entry flag called 'preserve' to indicate that an entry should be preserved by firmware updates. Propagate this to FMAP too. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			31 lines
		
	
	
		
			358 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			358 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	binman {
 | |
| 		section@0 {
 | |
| 			read-only;
 | |
| 			name-prefix = "ro-";
 | |
| 			size = <0x10>;
 | |
| 			pad-byte = <0x21>;
 | |
| 			preserve;
 | |
| 
 | |
| 			u-boot {
 | |
| 			};
 | |
| 		};
 | |
| 		section@1 {
 | |
| 			name-prefix = "rw-";
 | |
| 			size = <0x10>;
 | |
| 			pad-byte = <0x61>;
 | |
| 
 | |
| 			u-boot {
 | |
| 			};
 | |
| 		};
 | |
| 		fmap {
 | |
| 		};
 | |
| 	};
 | |
| };
 |