cros_ec: Use standard calls for recovery-request checking
authorSimon Glass <sjg@chromium.org>
Mon, 5 Jul 2021 22:32:52 +0000 (16:32 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:34 +0000 (10:27 -0600)
commit56dae9ef3c56a7de6ed4af5efb82e661329d4738
treec0b8673d28e711a7baaf0d34ea1c5f7b0fd0cff5
parent656d7447705550af0b464e7f6bc10fc1547e69ee
cros_ec: Use standard calls for recovery-request checking

Rather than calling directly into the sandbox SDL code, we can use the
normal U-Boot console handling for this feature. Update the code, to make
it more generic.

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