cros_ec: Fail if we cannot determine the flash burst size
authorSimon Glass <sjg@chromium.org>
Tue, 6 Nov 2018 22:21:20 +0000 (15:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Nov 2018 02:14:22 +0000 (19:14 -0700)
commitdc05ac0f2f3a5b2f301e2790afe45cb11cf0258f
tree82d670c658c6d49bd943755c46a925194150af73
parentac80652342dafa5356cd25959f1c45d003ba9dcf
cros_ec: Fail if we cannot determine the flash burst size

This value is required for flashing to work correctly. Add a check for
it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec.c