realtek: allow writing to "u-boot-env2"
U-Boot uses the "bootpartition" variable stored in
"u-boot-env2" to select the active system partition. Allow
updates to enable system switching from OpenWrt.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
(cherry picked from commit 11d24ffe96)
			
			
This commit is contained in:
		 Bjørn Mork
					Bjørn Mork
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							41a8bea72e
						
					
				
				
					commit
					59980f7aaf
				
			| @@ -61,7 +61,6 @@ | |||||||
| 			partition@f0000 { | 			partition@f0000 { | ||||||
| 				label = "u-boot-env2"; | 				label = "u-boot-env2"; | ||||||
| 				reg = <0x00f0000 0x0010000>; | 				reg = <0x00f0000 0x0010000>; | ||||||
| 				read-only; |  | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@100000 { | 			partition@100000 { | ||||||
|   | |||||||
| @@ -79,7 +79,6 @@ | |||||||
| 			partition@50000 { | 			partition@50000 { | ||||||
| 				label = "u-boot-env2"; | 				label = "u-boot-env2"; | ||||||
| 				reg = <0x50000 0x10000>; | 				reg = <0x50000 0x10000>; | ||||||
| 				read-only; |  | ||||||
| 			}; | 			}; | ||||||
| 			partition@60000 { | 			partition@60000 { | ||||||
| 				label = "jffs"; | 				label = "jffs"; | ||||||
|   | |||||||
| @@ -79,7 +79,6 @@ | |||||||
| 			partition@90000 { | 			partition@90000 { | ||||||
| 				label = "u-boot-env2"; | 				label = "u-boot-env2"; | ||||||
| 				reg = <0x90000 0x10000>; | 				reg = <0x90000 0x10000>; | ||||||
| 				read-only; |  | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@a0000 { | 			partition@a0000 { | ||||||
|   | |||||||
| @@ -77,7 +77,6 @@ | |||||||
| 			partition@c0000 { | 			partition@c0000 { | ||||||
| 				label = "u-boot-env2"; | 				label = "u-boot-env2"; | ||||||
| 				reg = <0x000c0000 0x40000>; | 				reg = <0x000c0000 0x40000>; | ||||||
| 				read-only; |  | ||||||
| 			}; | 			}; | ||||||
| 			partition@280000 { | 			partition@280000 { | ||||||
| 				label = "firmware"; | 				label = "firmware"; | ||||||
|   | |||||||
| @@ -61,7 +61,6 @@ | |||||||
| 			partition@c0000 { | 			partition@c0000 { | ||||||
| 				label = "u-boot-env2"; | 				label = "u-boot-env2"; | ||||||
| 				reg = <0x000c0000 0x40000>; | 				reg = <0x000c0000 0x40000>; | ||||||
| 				read-only; |  | ||||||
| 			}; | 			}; | ||||||
| 			partition@280000 { | 			partition@280000 { | ||||||
| 				label = "firmware"; | 				label = "firmware"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user