summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-07-31 10:44:11 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:45 +0100
commita0c3684e532530da2ddf228498fda37e4ce6898e (patch)
tree50733a127ba70567c952f44ba8f65094fb00f891 /drivers
parent5021c8916e42d18aea78538442c1c016afe4e070 (diff)
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')
-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 f50c5097ff..6bbb9057a6 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;
}