dnsmasq: move feature detection inside a shell func
[openwrt/openwrt.git] / target / linux / gemini / patches-4.19 / 0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch
1 From 3dfe7ff875a64b83de21dad6365225f41f3cdb17 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Fri, 19 Oct 2018 08:22:18 +0200
4 Subject: [PATCH 09/18] mtd: partitions: Add RedBoot FIS DT bindings
5
6 This adds device tree bindings for the RedBoot FIS partition
7 format.
8
9 Cc: devicetree@vger.kernel.org
10 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 ---
12 .../bindings/mtd/partitions/redboot-fis.txt | 27 +++++++++++++++++++
13 1 file changed, 27 insertions(+)
14 create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
15
16 --- /dev/null
17 +++ b/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
18 @@ -0,0 +1,27 @@
19 +RedBoot FLASH Image System (FIS) Partitions
20 +===========================================
21 +
22 +The FLASH Image System (FIS) directory is a flash description
23 +format closely associated with the RedBoot boot loader.
24 +
25 +It uses one single flash eraseblock in the flash to store an index of
26 +all images in the flash.
27 +
28 +This block size will vary depending on flash but is typically
29 +32 KB in size.
30 +
31 +Required properties:
32 +- compatible : (required) must be "redboot-fis"
33 +- fis-index-block : (required) a index to the eraseblock containing
34 + the FIS directory on this device. On a flash memory with 32KB
35 + eraseblocks, 0 means the first eraseblock at 0x00000000, 1 means the
36 + second eraseblock at 0x00008000 and so on.
37 +
38 +Example:
39 +
40 +flash@0 {
41 + partitions {
42 + compatible = "redboot-fis";
43 + fis-index-block = <0>;
44 + };
45 +};