]> git.dujemihanovic.xyz Git - u-boot.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)
commit6322a7b63fb74d0f9ba5d027ef8299df7f796498
tree95de368757d23feb5f1dba8f00b792c1f9c6db59
parent5592a633a09019d7c34b76a2cd3babff63e138ea
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