summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-07-31 10:38:38 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:45 +0100
commit5021c8916e42d18aea78538442c1c016afe4e070 (patch)
tree35b7151c3c4d13aac61a03d6b722d90f351b2ac8 /include
parentba7ead11efeeb087bbc16ee746de0ab7fe922d9d (diff)
MLK-11263-1 video: epdc: support display logo on E-Ink screen
Support draw image on E-ink screen. 1. The image format should be PGM-P5 raw data format. 2. The image should be named epdc_logo.pgm. 3. If no epdc_logo.pgm found in the first partition(FAT), will choose to draw black border on the screen. 4. Default configuration is to draw image at pos (0,0). If 'splashpos' env is set, will choose the pos from 'splashpos'. 5. The image size should not be bigger than screen total pixel size. 6. Implement board_setup_logo_file in board/freescale/common/epdc_setup.c 7. Introudce function prototype for board_setup_logo_file. Note: i.MX7D EPDC supports advanced mode and standard mode. Since current PXP in uboot for i.MX7D not ready, only support standard mode now. advanced and standard mode needs waveform firmware's support. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/common.h3
-rw-r--r--include/mxc_epdc_fb.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 6df05b8bb1..179392b465 100644
--- a/include/common.h
+++ b/include/common.h
@@ -306,6 +306,9 @@ void doc_probe(unsigned long physadr);
int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
/* common/cmd_fat.c */
+int do_fat_size(cmd_tbl_t *, int, int, char * const []);
+
+/* common/cmd_fat.c */
int do_fat_fsload(cmd_tbl_t *, int, int, char * const []);
/* common/cmd_ext2.c */
diff --git a/include/mxc_epdc_fb.h b/include/mxc_epdc_fb.h
index 5aa942e3d4..4f16a96b51 100644
--- a/include/mxc_epdc_fb.h
+++ b/include/mxc_epdc_fb.h
@@ -556,7 +556,10 @@ enum {
};
int setup_waveform_file(ulong waveform_buf);
+int board_setup_logo_file(void *display_buf);
void epdc_power_on(void);
void epdc_power_off(void);
+extern void *lcd_base;
+
#endif /* __EPDC_REGS_INCLUDED__ */