kernel: support "linux,rootfs" DT property for splitting rootfs
authorRafał Miłecki <rafal@milecki.pl>
Tue, 8 Nov 2022 11:22:51 +0000 (12:22 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 21 Nov 2022 16:21:13 +0000 (17:21 +0100)
commit353e468f4730b6f24d7da6b62091dc07f29f586f
tree4938a43a7a5ab8edfd70c8f45b79f061fc47919e
parentb66037f53bf3d943e23cad01986ba079cecb41cd
kernel: support "linux,rootfs" DT property for splitting rootfs

OpenWrt's support for splitting rootfs (to create an extra "rootfs_data"
partition) is limited to partitions called "rootfs". Upstream kernel
allows any name partition to be rootfs if it has "linux,rootfs" property
set. Add split support to such partitions in OpenWrt code.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit e4770db163a9585c43bb70dc5d6d1e45ef848e4a)
target/linux/generic/pending-5.10/400-mtd-mtdsplit-support.patch