diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-07-31 10:44:11 +0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-09 14:42:45 +0100 |
commit | a0c3684e532530da2ddf228498fda37e4ce6898e (patch) | |
tree | 50733a127ba70567c952f44ba8f65094fb00f891 /drivers | |
parent | 5021c8916e42d18aea78538442c1c016afe4e070 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mxc_epdc_fb.c b/drivers/video/mxc_epdc_fb.c index f50c5097ff4..6bbb9057a63 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; } |