Message ID | 20210418214616.239574-2-hauke@hauke-m.de |
---|---|
State | Accepted |
Headers | show |
Series | mtd: parsers: trx: Add support for Buffalo WSR-2533DHP2 | expand |
On Sun, 18 Apr 2021 23:46:14 +0200, Hauke Mehrtens wrote: > This adds the description of an additional property which allows to > specify a custom partition parser magic to detect a trx partition. > Buffalo has multiple device which are using the trx format, but with > different magic values. > > Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> > --- > .../devicetree/bindings/mtd/partitions/brcm,trx.txt | 5 +++++ > 1 file changed, 5 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
On Sun, 2021-04-18 at 21:46:14 UTC, Hauke Mehrtens wrote: > This adds the description of an additional property which allows to > specify a custom partition parser magic to detect a trx partition. > Buffalo has multiple device which are using the trx format, but with > different magic values. > > Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> > Acked-by: Rob Herring <robh@kernel.org> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel
diff --git a/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt b/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt index b677147ca4e1..c2175d3c82ec 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt +++ b/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt @@ -28,6 +28,11 @@ detected by a software parsing TRX header. Required properties: - compatible : (required) must be "brcm,trx" +Optional properties: + +- brcm,trx-magic: TRX magic, if it is different from the default magic + 0x30524448 as a u32. + Example: flash@0 {
This adds the description of an additional property which allows to specify a custom partition parser magic to detect a trx partition. Buffalo has multiple device which are using the trx format, but with different magic values. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- .../devicetree/bindings/mtd/partitions/brcm,trx.txt | 5 +++++ 1 file changed, 5 insertions(+)