aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/flashrom.c2
-rwxr-xr-xutil/mma/mma_setup_test.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/util/cbfstool/flashrom.c b/util/cbfstool/flashrom.c
index 6e438bfe22..fe3fb7b3d8 100644
--- a/util/cbfstool/flashrom.c
+++ b/util/cbfstool/flashrom.c
@@ -21,7 +21,7 @@
#include "flashrom.h"
#define FLASHROM_EXEC_NAME "flashrom"
-#define FLASHROM_PROGRAMMER_INTERNAL_AP "host"
+#define FLASHROM_PROGRAMMER_INTERNAL_AP "internal"
/**
* Helper to create a temporary file.
diff --git a/util/mma/mma_setup_test.sh b/util/mma/mma_setup_test.sh
index 75bce36178..f07cd900cd 100755
--- a/util/mma/mma_setup_test.sh
+++ b/util/mma/mma_setup_test.sh
@@ -86,7 +86,7 @@ show_usage() {
write_flash() {
printf "Writing back flash contents "${flashrom_temp_image}"\n"
- flashrom -p host -w "${flashrom_temp_image}" --noverify-all || \
+ flashrom -p internal -w "${flashrom_temp_image}" --noverify-all || \
{
printf "failed to read flash\n" ;
exit -1;
@@ -176,7 +176,7 @@ main() {
remove_file_if_exists "${flashrom_temp_image}"
printf "Reading flash contents to "${flashrom_temp_image}"\n"
- flashrom -p host -r "${flashrom_temp_image}" || \
+ flashrom -p internal -r "${flashrom_temp_image}" || \
{
printf "failed to read flash\n" ;
exit -1;