Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mtd: brcm,trx: Add brcm,trx-magic

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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210418214616.239574-2-hauke@hauke-m.de

authored by

Hauke Mehrtens and committed by
Miquel Raynal
a4d82940 16a7af2e

+5
+5
Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt
··· 28 28 Required properties: 29 29 - compatible : (required) must be "brcm,trx" 30 30 31 + Optional properties: 32 + 33 + - brcm,trx-magic: TRX magic, if it is different from the default magic 34 + 0x30524448 as a u32. 35 + 31 36 Example: 32 37 33 38 flash@0 {