]> git.ipfire.org Git - people/ms/u-boot.git/commit - include/misc.h
misc: add "call" uclass op
authorStephen Warren <swarren@nvidia.com>
Mon, 8 Aug 2016 15:41:33 +0000 (09:41 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2016 17:01:22 +0000 (11:01 -0600)
commitb647f55420310beb8f576e23f3b6a69745126f71
treefab32f8718b719a18d6a08787101611c65bbccbe
parentaa26776a2dfbf327d38a469e0d4e438f967350ab
misc: add "call" uclass op

The call op requests that the callee pass a message to the underlying HW
or device, wait for a response, and then pass back the response error code
and message to the callee. It is useful for drivers that represent some
kind of messaging or IPC channel to a remote device.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/misc/misc-uclass.c
include/misc.h