]> git.baikalelectronics.ru Git - uboot.git/commit
cros: Update cros_ec code to use struct udevice
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:22 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commita3fd790f3e14481ee572de3a62cd67120716989d
tree95de368757d23feb5f1dba8f00b792c1f9c6db59
parent8b7ae39c671bf11bb6520aaab67926969ca67782
cros: Update cros_ec code to use struct udevice

At present we pass around a private pointer to specify the cros_ec device.
With driver model it makes more sense to pass the device. Update the code
to do this.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/cros_ec.c
drivers/misc/cros_ec.c
drivers/misc/cros_ec_sandbox.c
drivers/tpm/tpm-uclass.c
include/cros_ec.h