util/ectool: don't dump the whole ram when writing to it

Change-Id: Ib2f417ff91862c71de32b3f8929d2017a725ea47
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: http://review.coreboot.org/10767
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Alexander Couzens 2015-07-02 19:48:22 +02:00 committed by Patrick Georgi
parent 5a2bd0b693
commit 0004ae8f4b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}