summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-07-31 10:44:11 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-08-03 18:29:02 +0800
commitf1be3cae0320a472db7944c43485eed378b74f58 (patch)
treec07474869d9e2e984d2c41d6fee6145f18de587a /drivers/video
parent738ace15de626866604ee927dc378c602de01fc8 (diff)
downloadu-boot-imx-f1be3cae0320a472db7944c43485eed378b74f58.zip
u-boot-imx-f1be3cae0320a472db7944c43485eed378b74f58.tar.gz
u-boot-imx-f1be3cae0320a472db7944c43485eed378b74f58.tar.bz2
MLK-11263-2 video: epdc: move setup_waveform_file to board common
Since setup_waveform_file in different boards code have same implementation, move setup_waveform_file to board common code. Also rename it to board_setup_waveform_file This patch also fix a bug when using flush_cache. We should pass 'waveform_buf' to flush_cache, but not a string named 'addr'. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/mxc_epdc_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mxc_epdc_fb.c b/drivers/video/mxc_epdc_fb.c
index f50c509..6bbb905 100644
--- a/drivers/video/mxc_epdc_fb.c
+++ b/drivers/video/mxc_epdc_fb.c
@@ -439,7 +439,7 @@ void lcd_ctrl_init(void *lcdbase)
REG_WR(EPDC_BASE, EPDC_WB_ADDR_TCE, panel_info.epdc_data.working_buf_addr);
/* Get waveform data address and offset */
- if (setup_waveform_file(panel_info.epdc_data.waveform_buf_addr)) {
+ if (board_setup_waveform_file(panel_info.epdc_data.waveform_buf_addr)) {
printf("Can't load waveform data!\n");
return;
}