mtd: parsers: trx: Allow to specify brcm, trx-magic in DT
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Apr 2021 21:46:15 +0000 (23:46 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 10 May 2021 10:11:50 +0000 (12:11 +0200)
commitd7f7e04f8b67571a4bf5a0dcd4f9da4214f5262c
tree09e8af95b72e5ec90a7699a392fee43791099f8f
parenta4d82940ff85a7e307953dfa715f65d5ab487e10
mtd: parsers: trx: Allow to specify brcm, trx-magic in DT

Buffalo uses a different TRX magic for every device, to be able to use
this trx parser, make it possible to specify the TRX magic in device
tree. If no TRX magic is specified in device tree, the standard value
will be used. This value should only be specified if a vendor chooses to
use a non standard TRX magic.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210418214616.239574-3-hauke@hauke-m.de
drivers/mtd/parsers/parser_trx.c