mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
api: export LCD device to external apps
This patch exports LCD info-query and bitmap-rendering functions to external apps. This patch is tested on a Seaboard. Because the LCD driver is not yet upstreamed, the test was done in a local downstream repo. Signed-off-by: Che-Liang Chiou <clchiou@chromium.org>
This commit is contained in:
parent
d3983ee853
commit
a2a5729fc1
8 changed files with 210 additions and 1 deletions
|
@ -77,4 +77,9 @@ int ub_dev_send(int handle, void *buf, int len);
|
|||
int ub_dev_recv(int handle, void *buf, int len, int *rlen);
|
||||
struct device_info * ub_dev_get(int);
|
||||
|
||||
/* display */
|
||||
int ub_display_get_info(int type, struct display_info *di);
|
||||
int ub_display_draw_bitmap(ulong bitmap, int x, int y);
|
||||
void ub_display_clear(void);
|
||||
|
||||
#endif /* _API_GLUE_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue