Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: cli_mfg.c

Issue 3058057: add missing programmer_shutdown() call to cli_mfg (Closed) Base URL: ssh://git@gitrw.chromium.org/flashrom
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the flashrom project. 2 * This file is part of the flashrom project.
3 * 3 *
4 * Copyright (C) 2000 Silicon Integrated System Corporation 4 * Copyright (C) 2000 Silicon Integrated System Corporation
5 * Copyright (C) 2004 Tyan Corp <yhlu@tyan.com> 5 * Copyright (C) 2004 Tyan Corp <yhlu@tyan.com>
6 * Copyright (C) 2005-2008 coresystems GmbH 6 * Copyright (C) 2005-2008 coresystems GmbH
7 * Copyright (C) 2008,2009,2010 Carl-Daniel Hailfinger 7 * Copyright (C) 2008,2009,2010 Carl-Daniel Hailfinger
8 * 8 *
9 * This program is free software; you can redistribute it and/or modify 9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by 10 * it under the terms of the GNU General Public License as published by
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 } else if (set_wp_enable) { 521 } else if (set_wp_enable) {
522 if (flash->wp && flash->wp->enable) 522 if (flash->wp && flash->wp->enable)
523 rc = flash->wp->enable(flash); 523 rc = flash->wp->enable(flash);
524 } else if (get_size) { 524 } else if (get_size) {
525 printf("%d\n", flash->total_size * 1024); 525 printf("%d\n", flash->total_size * 1024);
526 rc = 0; 526 rc = 0;
527 } else { 527 } else {
528 rc = doit(flash, force, filename, read_it, write_it, erase_it, v erify_it); 528 rc = doit(flash, force, filename, read_it, write_it, erase_it, v erify_it);
529 } 529 }
530 530
531 programmer_shutdown();
531 return rc; 532 return rc;
532 } 533 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698