diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-15 18:11:08 +1300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-27 15:04:31 +1300 |
commit | a5bc9abcee0ac8982c14f9cd585570a268eb9e47 (patch) | |
tree | 47b5ff1bb2c176d09c9ad1f50407b20d83eb7e6f /cmd/host.c | |
parent | 5d8c37910d87828e914262991de7d5599d63692a (diff) | |
download | u-boot-a5bc9abcee0ac8982c14f9cd585570a268eb9e47.tar.gz |
sandbox: cros_ec: Only write EC state when the EC is probed
This can crash if the EC has not yet been probed. Add a check to prevent
this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/host.c')
0 files changed, 0 insertions, 0 deletions