int ft_board_setup(void *blob, bd_t *bd) { #if defined(CONFIG_FDT_FIXUP_PARTITIONS) static struct node_info nodes[] = { { "fsl,imx6ull-gpmi-nand", MTD_DEV_TYPE_NAND, }, { "fsl,imx6q-gpmi-nand", MTD_DEV_TYPE_NAND, }, }; /* Update partition nodes using info from mtdparts env var */ puts(" Updating MTD partitions...\n"); fdt_fixup_mtdparts(blob, nodes, ARRAY_SIZE(nodes)); #endif return ft_common_board_setup(blob, bd); }
int ft_board_setup(void *blob, bd_t *bd) { return ft_common_board_setup(blob, bd); }