summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAarya Chaumal <aarya.chaumal@gmail.com>2023-05-01 18:13:22 +0530
committerAnastasia Klimchuk <aklm@chromium.org>2023-05-14 08:10:02 +0000
commit42b6346571e24bcdecee0ed282ff767a95844206 (patch)
treefce084ebc71209d8ba547a85670d96d7249da159
parent083c5c2fe39a1a4e86bf3af676de1e33134638df (diff)
downloadflashrom-git-42b6346571e24bcdecee0ed282ff767a95844206.tar.gz
flashrom.c: Enable erase path optimisation
Set the use_legacy_erase_path flag to false to enable erase path optimisation by default. Change-Id: Ie13e43b18b20dbb956b569e554953a19eb32ea22 Signed-off-by: Aarya Chaumal <aarya.chaumal@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/74872 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
-rw-r--r--flashrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashrom.c b/flashrom.c
index faffe517..19afb544 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -35,7 +35,7 @@
#include "chipdrivers.h"
#include "erasure_layout.h"
-static bool use_legacy_erase_path = true;
+static bool use_legacy_erase_path = false;
const char flashrom_version[] = FLASHROM_VERSION;