1 From 186692e51e6c40d8ebd05d25f009098eb00f8110 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Fri, 19 Oct 2018 09:00:51 +0200
4 Subject: [PATCH 11/18] ARM: dts: Fix up SQ201 flash access
6 This sets the partition information on the SQ201 to be read
7 out from the RedBoot partition table, removes the static
8 partition table and sets our boot options to mount root from
9 /dev/mtdblock2 where the initramfs resides.
11 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 arch/arm/boot/dts/gemini-sq201.dts | 37 ++++--------------------------
14 1 file changed, 5 insertions(+), 32 deletions(-)
16 diff --git a/arch/arm/boot/dts/gemini-sq201.dts b/arch/arm/boot/dts/gemini-sq201.dts
17 index 79df6ce5bc6a..c5bb24102b75 100644
18 --- a/arch/arm/boot/dts/gemini-sq201.dts
19 +++ b/arch/arm/boot/dts/gemini-sq201.dts
24 - bootargs = "console=ttyS0,115200n8 root=/dev/sda1 rw rootwait";
25 + bootargs = "console=ttyS0,115200n8 root=/dev/mtdblock2 rw rootfstype=squashfs,jffs2 rootwait";
31 reg = <0x30000000 0x01000000>;
35 - reg = <0x00000000 0x00120000>;
40 - reg = <0x00120000 0x00200000>;
44 - reg = <0x00320000 0x00600000>;
47 - label = "Application";
48 - reg = <0x00920000 0x00600000>;
52 - reg = <0x00f20000 0x00020000>;
57 - reg = <0x00f40000 0x000a0000>;
61 - label = "FIS directory";
62 - reg = <0x00fe0000 0x00020000>;
65 + compatible = "redboot-fis";
66 + /* Eraseblock at 0xfe0000 */
67 + fis-index-block = <0x1fc>;