mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-09 05:07:37 +00:00
add: crossystem (#2418)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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 */
|
||||
Reference in New Issue
Block a user