From 60ac4852745c69ae13a770dc343b648925b73ca2 Mon Sep 17 00:00:00 2001
From: blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 2 May 2016 18:50:27 +0000
Subject: [PATCH] lantiq: VGV7510KW22BRN - support dual-image

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 49282
---
 target/linux/lantiq/dts/VGV7510KW22BRN.dts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/target/linux/lantiq/dts/VGV7510KW22BRN.dts b/target/linux/lantiq/dts/VGV7510KW22BRN.dts
index 8ce715b659..e353dce0b7 100644
--- a/target/linux/lantiq/dts/VGV7510KW22BRN.dts
+++ b/target/linux/lantiq/dts/VGV7510KW22BRN.dts
@@ -32,20 +32,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;
 					};
 				};
-- 
GitLab