common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
PATCH 1/1 common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
fdt_fixup_mtdparts currently does nothing when partitin info is runtime generated or compiled-in defaults are used.
Signed-off-by Ladislav Michl <[email protected]>
--- common/fdt_support.c | 5 ----- 1 file changed, 5 deletions(-)
common/fdt_support.c +0 -5
@@ -903,14 +903,9 @@ void fdt_fixup_mtdparts(void *blob, void *node_info, int node_info_size) {struct node_info *ni = node_info;struct mtd_device *dev; -char *parts;int i, idx;int noff; - parts =getenv ("mtdparts" ); -if (!parts) -return ; -if (mtdparts_init () !=0 )return ;
Signature · 1 line
2.11.0
PATCH 1/1 common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
Quoted 7 lines · Ladislav Michl
fdt_fixup_mtdpartscurrently does nothing when partitin info is runtime generated or compiled-in defaults are used.Signed-off-by Ladislav Michl <[email protected]>--- common/fdt_support.c | 5 ----- 1 file changed, 5 deletions(-)
Fixed commit message nits and
Applied to u-boot-dm, thanks!