Skip ec.config if there is no space
We want ec.config for test purposes, but the firmware will still work
fine without it. If there isn't room for the ec.config, then just omit
it.
BRANCH=None
BUG=b:478868222
TEST=swap_ec_rw --image image-gothrax.bin --ec ec.bin
Change-Id: If9d28e4070a6ffec85cd7594c2b63eed05adc5c9
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/7517252
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
1 file changed