]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt_support: add fdt_copy_fixed_partitions function
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 8 Jun 2023 15:16:38 +0000 (17:16 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 16 Jun 2023 09:01:15 +0000 (11:01 +0200)
commit163c5f60ebb492eb3bab75e299cb43e6d022653d
treec7119803507060872cde7feffd917297f905776b
parent0e7cc08320f7dd3dce33c14cb506525f378b5f8e
fdt_support: add fdt_copy_fixed_partitions function

Add a new function fdt_copy_fixed_partitions to copy the fixed
partition nodes from U-Boot device tree to Linux kernel
device tree and to dynamically configure the MTD partitions.

This function fdt_copy_fixed_partitions is only based on device tree
with livetree compatible function and replace the function
fdt_fixup_mtdparts based on mtdparts variable.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
common/fdt_support.c
include/fdt_support.h