Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
53 lines
1.1 KiB
Diff
53 lines
1.1 KiB
Diff
From 5734c6669fba7ddb5ef491ccff7159d15dba0b59 Mon Sep 17 00:00:00 2001
|
|
From: Bernhard Frauendienst <kernel@nospam.obeliks.de>
|
|
Date: Wed, 5 Sep 2018 01:32:51 +0200
|
|
Subject: [PATCH 496/497] dt-bindings: add bindings for mtd-concat devices
|
|
|
|
Document virtual mtd-concat device bindings.
|
|
|
|
Signed-off-by: Bernhard Frauendienst <kernel@nospam.obeliks.de>
|
|
---
|
|
.../devicetree/bindings/mtd/mtd-concat.txt | 36 +++++++++++++++++++
|
|
1 file changed, 36 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/mtd/mtd-concat.txt
|
|
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/mtd/mtd-concat.txt
|
|
@@ -0,0 +1,36 @@
|
|
+Virtual MTD concat device
|
|
+
|
|
+Requires properties:
|
|
+- devices: list of phandles to mtd nodes that should be concatenated
|
|
+
|
|
+Example:
|
|
+
|
|
+&spi {
|
|
+ flash0: flash@0 {
|
|
+ ...
|
|
+ };
|
|
+ flash1: flash@1 {
|
|
+ ...
|
|
+ };
|
|
+};
|
|
+
|
|
+flash {
|
|
+ compatible = "mtd-concat";
|
|
+
|
|
+ devices = <&flash0 &flash1>;
|
|
+
|
|
+ partitions {
|
|
+ compatible = "fixed-partitions";
|
|
+
|
|
+ partition@0 {
|
|
+ label = "boot";
|
|
+ reg = <0x0000000 0x0040000>;
|
|
+ read-only;
|
|
+ };
|
|
+
|
|
+ partition@40000 {
|
|
+ label = "firmware";
|
|
+ reg = <0x0040000 0x1fc0000>;
|
|
+ };
|
|
+ }
|
|
+}
|