0001-fdt-nonvolatile-context-storage-report-to-mkbp-for-E.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. From 3003a569ad63a35922984a8c7d1f079cc5cbd960 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 1/4] 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. Change-Id: I78ed64c2002727432def0e132f572a1c5173fa5e
  9. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
  10. ---
  11. src/vboot/crossystem/fdt.c | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/src/vboot/crossystem/fdt.c b/src/vboot/crossystem/fdt.c
  14. index c0b10c0..5cba178 100644
  15. --- a/src/vboot/crossystem/fdt.c
  16. +++ b/src/vboot/crossystem/fdt.c
  17. @@ -51,7 +51,7 @@ static int install_crossystem_data(DeviceTreeFixup *fixup, DeviceTree *tree)
  18. dt_add_string_prop(node, "nonvolatile-context-storage","nvram");
  19. } else if (CONFIG_NV_STORAGE_CROS_EC) {
  20. dt_add_string_prop(node,
  21. - "nonvolatile-context-storage", "cros-ec");
  22. + "nonvolatile-context-storage", "mkbp");
  23. } else if (CONFIG_NV_STORAGE_DISK) {
  24. dt_add_string_prop(node, "nonvolatile-context-storage", "disk");
  25. dt_add_u32_prop(node, "nonvolatile-context-lba",
  26. --
  27. 2.10.2