mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
fe3877a94f
(cherry picked from commit bbbd0a4d35)
Co-authored-by: WeirdTreeThing <bradyn127@protonmail.com>
27 lines
802 B
Diff
27 lines
802 B
Diff
diff --git a/host/lib/flashrom.c b/host/lib/flashrom.c
|
|
index 6a80201..c67a99d 100644
|
|
--- a/host/lib/flashrom.c
|
|
+++ b/host/lib/flashrom.c
|
|
@@ -23,7 +23,7 @@
|
|
#include "flashrom.h"
|
|
#include "subprocess.h"
|
|
|
|
-#define FLASHROM_EXEC_NAME "flashrom"
|
|
+#define FLASHROM_EXEC_NAME "flashrom-cros"
|
|
|
|
/**
|
|
* Helper to create a temporary file, and optionally write some data
|
|
diff --git a/host/lib/include/flashrom.h b/host/lib/include/flashrom.h
|
|
index 81d6ba9..6b760d6 100644
|
|
--- a/host/lib/include/flashrom.h
|
|
+++ b/host/lib/include/flashrom.h
|
|
@@ -10,7 +10,7 @@
|
|
#include "2return_codes.h"
|
|
#include "fmap.h"
|
|
|
|
-#define FLASHROM_PROGRAMMER_INTERNAL_AP "host"
|
|
+#define FLASHROM_PROGRAMMER_INTERNAL_AP "internal"
|
|
#define FLASHROM_PROGRAMMER_INTERNAL_EC "ec"
|
|
|
|
/* Utilities for firmware images and (FMAP) sections */
|