[U-Boot] [PATCH 1/2 V4] misc: add "call" uclass op

Tom Warren TWarren at nvidia.com
Fri Aug 12 21:06:58 CEST 2016


Please CC me on your pull request to TomR/u-boot/master. Thanks.

> -----Original Message-----
> From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon Glass
> Sent: Friday, August 12, 2016 10:04 AM
> To: Stephen Warren <swarren at wwwdotorg.org>
> Cc: U-Boot Mailing List <u-boot at lists.denx.de>; Tom Warren
> <TWarren at nvidia.com>; Stephen Warren <swarren at nvidia.com>; Tom Rini
> <trini at konsulko.com>
> Subject: Re: [PATCH 1/2 V4] misc: add "call" uclass op
> 
> On 8 August 2016 at 13:47, Simon Glass <sjg at chromium.org> wrote:
> > +Tom
> >
> > Hi Stephen,
> >
> > On 8 August 2016 at 10:41, Stephen Warren <swarren at wwwdotorg.org>
> wrote:
> >> On 08/08/2016 10:38 AM, Simon Glass wrote:
> >>>
> >>> Hi Stephen,
> >>>
> >>> On 8 August 2016 at 09:41, Stephen Warren <swarren at wwwdotorg.org>
> wrote:
> >>>>
> >>>>
> >>>> From: Stephen Warren <swarren at nvidia.com>
> >>>>
> >>>> 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 at nvidia.com>
> >>>> Acked-by: Simon Glass <sjg at chromium.org>
> >>>> ---
> >>>> v4: Adjust misc_call() to return the response msg size on success.
> >>>> v3: New patch.
> >>>> ---
> >>>>  drivers/misc/misc-uclass.c | 11 +++++++++++
> >>>>  include/misc.h             | 35 +++++++++++++++++++++++++++++++++++
> >>>>  2 files changed, 46 insertions(+)
> >>>
> >>>
> >>> Are you planning for the Tegra186 stuff to go into the upcoming release?
> >>
> >>
> >> I'd like it to if at all possible; it's all pretty much
> >> Tegra-specific drivers so shouldn't cause any fallout for other
> >> platforms. The only exception is the fdt_translate_address() changes,
> >> which are a dependency, which will be built into other platforms, but
> >> there's a simple Boolean parameter that controls the new behaviour, so it
> should be pretty safe.
> >
> > OK, sounds reasonable to me. I'll pick these up later in the week and
> > send a pull request. Can you bring any other dependencies in via
> > Tegra?
> >
> > Regards,
> > Simon
> 
> Applied to u-boot-dm, thanks!

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------


More information about the U-Boot mailing list