diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c index 94163eddbe..898013982b 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c +++ b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c | |||
@@ -318,7 +318,7 @@ static void dma_start_transfer16( char *src, int src_x, int src_y, int stride, | |||
318 | dst = (char *)FRAME + (y * LCD_HEIGHT + x) * pix_width; | 318 | dst = (char *)FRAME + (y * LCD_HEIGHT + x) * pix_width; |
319 | 319 | ||
320 | /* Flush the area that is being copied from. */ | 320 | /* Flush the area that is being copied from. */ |
321 | clean_dcache_range(src, (stride*pix_width*width)); | 321 | commit_dcache_range(src, (stride*pix_width*width)); |
322 | 322 | ||
323 | /* Addresses are relative to start of SDRAM */ | 323 | /* Addresses are relative to start of SDRAM */ |
324 | src -= CONFIG_SDRAM_START; | 324 | src -= CONFIG_SDRAM_START; |
@@ -393,9 +393,9 @@ static void dma_start_transfer16( char *src, int src_x, int src_y, int stride, | |||
393 | * pix_width; | 393 | * pix_width; |
394 | 394 | ||
395 | /* Flush the area that is being copied from. */ | 395 | /* Flush the area that is being copied from. */ |
396 | clean_dcache(); | 396 | commit_dcache(); |
397 | 397 | ||
398 | // clean_dcache_range(src, (stride*pix_width*width)); | 398 | // commit_dcache_range(src, (stride*pix_width*width)); |
399 | 399 | ||
400 | /* Addresses are relative to start of SDRAM */ | 400 | /* Addresses are relative to start of SDRAM */ |
401 | src -= CONFIG_SDRAM_START; | 401 | src -= CONFIG_SDRAM_START; |