aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/patches-4.19/0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-01-26 13:36:49 +0100
committerMathias Kresin <dev@kresin.me>2019-01-26 21:46:32 +0100
commite44d1e17da089fdc7e7cb1cfa48334993e8aa427 (patch)
tree7c6a7addfd8fd99b05975faf6d2571e5b6de1584 /target/linux/gemini/patches-4.19/0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch
parentc2bdd018a301662258ec745bf4da71d6d6193af1 (diff)
downloadupstream-e44d1e17da089fdc7e7cb1cfa48334993e8aa427.tar.gz
upstream-e44d1e17da089fdc7e7cb1cfa48334993e8aa427.tar.bz2
upstream-e44d1e17da089fdc7e7cb1cfa48334993e8aa427.zip
gemini: Add v4.19 kernel patches
This is the remainder of kernel patches for the v4.19 kernel. A whole slew of the previous patch stack is now upstream, so this mainly contains the stuff that was added upstream between v4.19 and v5.0-rc1, and then the USB FOTG201 patches from Hans. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'target/linux/gemini/patches-4.19/0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch')
-rw-r--r--target/linux/gemini/patches-4.19/0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-4.19/0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch b/target/linux/gemini/patches-4.19/0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch
new file mode 100644
index 0000000000..afcf5111d8
--- /dev/null
+++ b/target/linux/gemini/patches-4.19/0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch
@@ -0,0 +1,51 @@
+From 3dfe7ff875a64b83de21dad6365225f41f3cdb17 Mon Sep 17 00:00:00 2001
+From: Linus Walleij <linus.walleij@linaro.org>
+Date: Fri, 19 Oct 2018 08:22:18 +0200
+Subject: [PATCH 09/18] mtd: partitions: Add RedBoot FIS DT bindings
+
+This adds device tree bindings for the RedBoot FIS partition
+format.
+
+Cc: devicetree@vger.kernel.org
+Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
+---
+ .../bindings/mtd/partitions/redboot-fis.txt | 27 +++++++++++++++++++
+ 1 file changed, 27 insertions(+)
+ create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
+
+diff --git a/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt b/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
+new file mode 100644
+index 000000000000..fd0ebe4e3415
+--- /dev/null
++++ b/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
+@@ -0,0 +1,27 @@
++RedBoot FLASH Image System (FIS) Partitions
++===========================================
++
++The FLASH Image System (FIS) directory is a flash description
++format closely associated with the RedBoot boot loader.
++
++It uses one single flash eraseblock in the flash to store an index of
++all images in the flash.
++
++This block size will vary depending on flash but is typically
++32 KB in size.
++
++Required properties:
++- compatible : (required) must be "redboot-fis"
++- fis-index-block : (required) a index to the eraseblock containing
++ the FIS directory on this device. On a flash memory with 32KB
++ eraseblocks, 0 means the first eraseblock at 0x00000000, 1 means the
++ second eraseblock at 0x00008000 and so on.
++
++Example:
++
++flash@0 {
++ partitions {
++ compatible = "redboot-fis";
++ fis-index-block = <0>;
++ };
++};
+--
+2.19.2
+