diff mbox

[OpenWrt-Devel,3/3] lantiq: VGV7510KW22BRN - support dual-image

Message ID 1462019564-29663-3-git-send-email-openwrt@kresin.me
State Accepted
Headers show

Commit Message

Mathias Kresin April 30, 2016, 12:32 p.m. UTC
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
---
 target/linux/lantiq/dts/VGV7510KW22BRN.dts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/target/linux/lantiq/dts/VGV7510KW22BRN.dts b/target/linux/lantiq/dts/VGV7510KW22BRN.dts
index 5f48323..f93249b 100644
--- a/target/linux/lantiq/dts/VGV7510KW22BRN.dts
+++ b/target/linux/lantiq/dts/VGV7510KW22BRN.dts
@@ -38,20 +38,23 @@ 
 					};
 
 					partition@c0000 {
+						compatible = "brnboot,root-selector";
 						label = "Primary_Setting";
 						reg = <0xc0000 0x20000>;
 						read-only;
 					};
 
 					partition@e0000 {
-						label = "firmware"; /* "Code Image 0" in OFW */
+						label = "Code_Image_0";
 						reg = <0xe0000 0x780000>;
+						brnboot,root-id = <0x00>;
 						read-only;
 					};
 
 					partition@860000 {
 						label = "Code_Image_1";
 						reg = <0x860000 0x780000>;
+						brnboot,root-id = <0x01>;
 						read-only;
 					};
 				};