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>
diff --git a/cli_classic.c b/cli_classic.c
index 391fc5a..7e3dfd5 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -376,12 +376,6 @@
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;