openwrt/target/linux
Bernhard Frauendienst 3370e10495 kernel: add driver for virtual mtd_concat devices
Some systems require multiple flash chips to be concatenated and read as
a single mtd device. The ar71xx target provides custom code to create
such mtdconcat devices. When porting devices to ath79, however, there is
no way to create such devices from within the device tree.

This commit adds a driver for creating virtual mtd-concat devices to the
ath79 target. Nodes must have a compatible = "virtual,mtd-concat" line,
and define a list of devices to concat in the 'devices' property,
for example:

flash {
	compatible = "virtual,mtd-concat";

	devices = <&flash0 &flash1>;
};

The driver is added to the very end of the mtd Makefile to increase the
likelyhood of all child devices already being loaded at the time of
probing, preventing unnecessary deferred probes which might in turn
cause other problems (like failure to load MAC addresses from art because
the partitions are not loaded yet).

Signed-off-by: Bernhard Frauendienst <openwrt@nospam.obeliks.de>
2018-09-10 09:35:07 +02:00
..
adm5120
adm8668
apm821xx apm821xx: MBL: load kernel/dtb from SATA 0:1 first 2018-08-29 09:43:10 +02:00
ar7
ar71xx ar71xx: fix switch probing on kernel 4.14 2018-09-07 17:21:24 +02:00
arc770
archs38
armvirt
at91 treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ath25
ath79 ath79: add support for ELECOM WRC-300GHBK2-I 2018-09-10 09:30:28 +02:00
au1000
bcm53xx kernel: bump 4.14 to 4.14.67 2018-08-28 23:05:39 +02:00
brcm47xx kernel: bump 4.14 to 4.14.68 2018-09-07 17:21:24 +02:00
brcm63xx treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
brcm2708
cns3xxx kernel: bump 4.14 to 4.14.67 2018-08-28 23:05:39 +02:00
gemini
generic kernel: add driver for virtual mtd_concat devices 2018-09-10 09:35:07 +02:00
imx6 imx6: use BUILD_DEVICES in uboot-imx6 for mx6cuboxi 2018-09-05 10:00:01 +02:00
ipq40xx build: add mkrasimage 2018-08-28 11:26:53 +02:00
ipq806x kernel: bump 4.14 to 4.14.67 2018-08-28 23:05:39 +02:00
ixp4xx
kirkwood
lantiq kernel: bump 4.14 to 4.14.67 2018-08-28 23:05:39 +02:00
layerscape kernel: bump 4.9 to 4.9.125 2018-09-07 17:21:24 +02:00
malta
mcs814x
mediatek mediatek: remove duplicate RPS patch 2018-08-28 14:57:15 +02:00
mpc85xx mpc85xx: add migration script for TP-Link TL-WDR4900 v1 WLAN PCI paths 2018-09-04 21:27:27 +02:00
mvebu mvebu: Replace RTC initialization patch with upstreamed version 2018-09-10 09:11:31 +02:00
mxs
octeon
octeontx
omap
omap24xx
orion
oxnas treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
pistachio
ppc40x
ppc44x
ramips ramips: add support for TP-Link TL-MR3020 v3 2018-09-06 21:36:42 +02:00
rb532
samsung treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
sunxi kernel: bump 4.9 to 4.9.124 2018-08-28 23:05:39 +02:00
uml
x86
xburst
zynq zynq: rename zedboard with correct manufacturer 2018-09-10 08:56:16 +02:00
Makefile