summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2016-05-02 17:04:59 +0200
committerNico Huber <nico.h@gmx.de>2017-06-14 11:30:48 +0200
commit3828b39263d008fb6cc5ebdbe7fb49bc6f926566 (patch)
tree594149187c7dc540df85d7e86eec2ccd74ff8af2
parent99d1595329190de2a09785e8e2017ecfc397eb23 (diff)
downloadflashrom-git-3828b39263d008fb6cc5ebdbe7fb49bc6f926566.tar.gz
cli_classic: Remove layout-for-write-only check
Change-Id: I0f5e9623ca75bc4503aeb45ae346d7573c0fef2c Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/17951 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
-rw-r--r--cli_classic.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cli_classic.c b/cli_classic.c
index 391fc5a8..7e3dfd5b 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -376,12 +376,6 @@ int main(int argc, char *argv[])
ret = 1;
goto out;
}
- if (layoutfile != NULL && !write_it) {
- msg_gerr("Layout files are currently supported for write operations only.\n");
- ret = 1;
- goto out;
- }
-
if (process_include_args()) {
ret = 1;
goto out;