From 0004ae8f4bf13e549474c5db998f4708fb0b88e8 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 2 Jul 2015 19:48:22 +0200 Subject: util/ectool: don't dump the whole ram when writing to it Change-Id: Ib2f417ff91862c71de32b3f8929d2017a725ea47 Signed-off-by: Alexander Couzens Reviewed-on: http://review.coreboot.org/10767 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/ectool/ectool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ectool/ectool.c b/util/ectool/ectool.c index 307c1f5c8b..1631debcc6 100644 --- a/util/ectool/ectool.c +++ b/util/ectool/ectool.c @@ -124,7 +124,7 @@ int main(int argc, char *argv[]) } /* preserve default - dump_ram if nothing selected */ - if (!dump_ram && !dump_idx && !dump_query) { + if (!dump_ram && !dump_idx && !dump_query && !write_addr) { dump_ram = 1; } -- cgit v1.2.3