Skip to content
Snippets Groups Projects
Commit 923aa481 authored by Rafal Jaworowski's avatar Rafal Jaworowski Committed by Wolfgang Denk
Browse files

API: Improve glue mid-layer of the API demo application.


- 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: default avatarRafal Jaworowski <raj@semihalf.com>
parent 44a94e59
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment