projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
video: fsl_dcu_fb: refactor init functions
[oweals/u-boot.git]
/
board
/
toradex
/
colibri_vf
/
dcu.c
diff --git
a/board/toradex/colibri_vf/dcu.c
b/board/toradex/colibri_vf/dcu.c
index c36e90cd22ed4e74254f9265349ed4a36b9c9cb9..c688ed79ffdf948d1dee5e09909730d1a3c0e85c 100644
(file)
--- a/
board/toradex/colibri_vf/dcu.c
+++ b/
board/toradex/colibri_vf/dcu.c
@@
-26,11
+26,13
@@
unsigned int dcu_set_pixel_clock(unsigned int pixclock)
return div;
}
return div;
}
-int platform_dcu_init(unsigned int xres, unsigned int yres,
+int platform_dcu_init(struct fb_info *fbinfo,
+ unsigned int xres,
+ unsigned int yres,
const char *port,
struct fb_videomode *dcu_fb_videomode)
{
const char *port,
struct fb_videomode *dcu_fb_videomode)
{
- fsl_dcu_init(xres, yres, 32);
+ fsl_dcu_init(
fbinfo,
xres, yres, 32);
return 0;
}
return 0;
}