
18 Feb
2009
18 Feb
'09
12:41 a.m.
Dear Rafal Jaworowski,
In message 12327136393883-git-send-email-raj@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@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@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.