[U-Boot] [PATCH 4/4] API: Improve glue mid-layer of the API demo application.
Wolfgang Denk
wd at denx.de
Wed Feb 18 00:41:01 CET 2009
Dear Rafal Jaworowski,
In message <12327136393883-git-send-email-raj at semihalf.com> you wrote:
> - Extend ub_dev_read() and ub_dev_recv() so they return the length actually
> read, which allows for better control and error handling (this introduces
> additional error code API_ESYSC returned by the glue mid-layer).
>
> - Clean up definitions naming and usage.
>
> - Other minor cosmetics.
>
> Note these changes do not touch the API proper, so the interface between
> U-Boot and standalone applications remains unchanged.
>
> Signed-off-by: Rafal Jaworowski <raj at semihalf.com>
> ---
> api_examples/demo.c | 8 ++----
> api_examples/glue.c | 58 +++++++++++++++++++++----------------------------
> api_examples/glue.h | 16 ++++++++-----
> include/api_public.h | 1 +
> 4 files changed, 39 insertions(+), 44 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How long does it take a DEC field service engineer to change a
lightbulb? It depends on how many bad ones he brought with him.
More information about the U-Boot
mailing list