39dfd3d5357368be95b4246059bdc8211aa3f068
[openwrt/openwrt.git] / target / linux / gemini / patches-5.4 / 0002-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch
1 From a2de8560885469f3d76c80207a669029e4fc8a45 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Mon, 11 Mar 2019 15:44:29 +0100
4 Subject: [PATCH 2/7] ARM: dts: Augment DIR-685 partition table for OpenWrt
5
6 Rename the firmware partition so that the firmware MTD
7 splitter will do its job, drop the rootfs arguments as
8 the MTD splitter will set this up automatically.
9
10 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 ---
12 arch/arm/boot/dts/gemini-dlink-dir-685.dts | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
16 +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
17 @@ -20,7 +20,7 @@
18 };
19
20 chosen {
21 - bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait consoleblank=300";
22 + bootargs = "console=ttyS0,19200n8 consoleblank=300";
23 stdout-path = "uart0:19200n8";
24 };
25
26 @@ -285,9 +285,9 @@
27 * this is called "upgrade" on the vendor system.
28 */
29 partition@40000 {
30 - label = "upgrade";
31 + compatible = "wrg";
32 + label = "firmware";
33 reg = <0x00040000 0x01f40000>;
34 - read-only;
35 };
36 /* RGDB, Residental Gateway Database? */
37 partition@1f80000 {