summaryrefslogtreecommitdiff
path: root/examples/api/glue.h
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@chromium.org>2011-10-20 23:04:22 +0000
committerAnatolij Gustschin <agust@denx.de>2011-11-15 23:58:27 +0100
commita2a5729fc1247bb45d794e9d731c0b03bf58096f (patch)
treea89f1b03ebc2e3987b8068aefe0f0a30c1c357c4 /examples/api/glue.h
parentd3983ee85325d2be730830ebcf82585ee7cd2ecb (diff)
downloadu-boot-imx-a2a5729fc1247bb45d794e9d731c0b03bf58096f.zip
u-boot-imx-a2a5729fc1247bb45d794e9d731c0b03bf58096f.tar.gz
u-boot-imx-a2a5729fc1247bb45d794e9d731c0b03bf58096f.tar.bz2
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>
Diffstat (limited to 'examples/api/glue.h')
-rw-r--r--examples/api/glue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/api/glue.h b/examples/api/glue.h
index 6bf47d0..e43f7d9 100644
--- a/examples/api/glue.h
+++ b/examples/api/glue.h
@@ -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_ */