summaryrefslogtreecommitdiff
path: root/api_examples/demo.c
Commit message (Collapse)AuthorAgeLines
* Move api_examples to examples/apiPeter Tyser2009-07-21-300/+0
| | | | | | | Also add a rule to remove demo.bin which was previously leftover after a "make clean" Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* API: Improve glue mid-layer of the API demo application.Rafal Jaworowski2009-02-18-5/+3
| | | | | | | | | | | | | | | - 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: Only output test data when reading was successful.Rafal Jaworowski2009-02-18-3/+5
| | | | Signed-off-by: Rafal Czubak <rcz@semihalf.com>
* Fix merge problemsStefan Roese2008-08-06-18/+60
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* Coding Style cleanup; update CHANGELOGWolfgang Denk2008-01-10-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* API for external applications.Rafal Jaworowski2008-01-09-0/+258
This is an API for external (standalone) applications running on top of U-Boot, and is meant to be more extensible and robust than the existing jumptable mechanism. It is similar to UNIX syscall approach. See api/README for more details. Included is the demo application using this new framework (api_examples). Please note this is still an experimental feature, and is turned off by default. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>