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:
parent
5a2bd0b693
commit
0004ae8f4b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue