419-mtd-redboot-add-of_match_table-with-DT-binding.patch 742 B

12345678910111213141516171819202122
  1. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  2. Subject: [PATCH] mtd: redboot: add of_match_table with DT binding
  3. MIME-Version: 1.0
  4. Content-Type: text/plain; charset=UTF-8
  5. Content-Transfer-Encoding: 8bit
  6. This allows parsing RedBoot compatible partitions for properly described
  7. flash device in DT.
  8. Signed-off-by: Rafał Miłecki <[email protected]>
  9. ---
  10. --- a/drivers/mtd/parsers/redboot.c
  11. +++ b/drivers/mtd/parsers/redboot.c
  12. @@ -305,6 +305,7 @@ static int parse_redboot_partitions(stru
  13. static const struct of_device_id mtd_parser_redboot_of_match_table[] = {
  14. { .compatible = "redboot-fis" },
  15. + { .compatible = "ecoscentric,redboot-fis-partitions" },
  16. {},
  17. };
  18. MODULE_DEVICE_TABLE(of, mtd_parser_redboot_of_match_table);