mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
lcd: Add support for flushing LCD fb from dcache after update
This provides an option for the LCD to flush the dcache after each update (puts, scroll or clear). Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
676d319ef5
commit
9a8efc4604
3 changed files with 57 additions and 9 deletions
|
@ -57,6 +57,14 @@ extern void lcd_initcolregs (void);
|
|||
extern struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp);
|
||||
extern int bmp_display(ulong addr, int x, int y);
|
||||
|
||||
/**
|
||||
* Set whether we need to flush the dcache when changing the LCD image. This
|
||||
* defaults to off.
|
||||
*
|
||||
* @param flush non-zero to flush cache after update, 0 to skip
|
||||
*/
|
||||
void lcd_set_flush_dcache(int flush);
|
||||
|
||||
#if defined CONFIG_MPC823
|
||||
/*
|
||||
* LCD controller stucture for MPC823 CPU
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue