0007-fdt-nonvolatile-context-storage-report-to-mkbp-for-E.patch 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. From ff08bf3966b3c299d6ead9707cc17a71ff9e50c7 Mon Sep 17 00:00:00 2001
  2. From: Paul Kocialkowski <contact@paulk.fr>
  3. Date: Mon, 10 Aug 2015 20:30:14 +0200
  4. Subject: [PATCH 7/8] fdt: nonvolatile-context-storage report to mkbp for EC NV
  5. storage
  6. This allows old versions of crossystem to detect that it should use mosys to
  7. access NV storage in case it is stored on the EC.
  8. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
  9. ---
  10. src/vboot/crossystem/fdt.c | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/src/vboot/crossystem/fdt.c b/src/vboot/crossystem/fdt.c
  13. index a79b192..0487513 100644
  14. --- a/src/vboot/crossystem/fdt.c
  15. +++ b/src/vboot/crossystem/fdt.c
  16. @@ -56,7 +56,7 @@ static int install_crossystem_data(DeviceTreeFixup *fixup, DeviceTree *tree)
  17. dt_add_string_prop(node, "nonvolatile-context-storage","nvram");
  18. } else if (CONFIG_NV_STORAGE_CROS_EC) {
  19. dt_add_string_prop(node,
  20. - "nonvolatile-context-storage", "cros-ec");
  21. + "nonvolatile-context-storage", "mkbp");
  22. } else if (CONFIG_NV_STORAGE_DISK) {
  23. dt_add_string_prop(node, "nonvolatile-context-storage", "disk");
  24. dt_add_u32_prop(node, "nonvolatile-context-lba",
  25. --
  26. 2.8.0