projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for ADT7460 I2C monitor chip
[oweals/u-boot.git]
/
drivers
/
video
/
mb862xx.c
diff --git
a/drivers/video/mb862xx.c
b/drivers/video/mb862xx.c
index bfb057f513b668dd964f3adbc772c507f0e18dac..6c14b0d688c47ed4ed14635e7c6409af8e730085 100644
(file)
--- a/
drivers/video/mb862xx.c
+++ b/
drivers/video/mb862xx.c
@@
-28,14
+28,15
@@
#include <common.h>
#include <common.h>
-#if defined(CONFIG_VIDEO_MB862xx)
-
#include <asm/io.h>
#include <pci.h>
#include <video_fb.h>
#include "videomodes.h"
#include <mb862xx.h>
#include <asm/io.h>
#include <pci.h>
#include <video_fb.h>
#include "videomodes.h"
#include <mb862xx.h>
+#if defined(CONFIG_POST)
+#include <post.h>
+#endif
/*
* Graphic Device
*/
/*
* Graphic Device
*/
@@
-170,6
+171,8
@@
static void de_init (void)
DE_WR_FIFO (0x09410000);
DE_WR_FIFO (0x00000000);
DE_WR_FIFO (pGD->winSizeY<<16 | pGD->winSizeX);
DE_WR_FIFO (0x09410000);
DE_WR_FIFO (0x00000000);
DE_WR_FIFO (pGD->winSizeY<<16 | pGD->winSizeX);
+ /* sync with SW access to framebuffer */
+ de_wait ();
}
#if defined(CONFIG_VIDEO_CORALP)
}
#if defined(CONFIG_VIDEO_CORALP)
@@
-354,7
+357,7
@@
void *video_hw_init (void)
board_disp_init();
#endif
board_disp_init();
#endif
-#if defined(CONFIG_LWMON5)
+#if defined(CONFIG_LWMON5)
&& !(CONFIG_POST & CFG_POST_SYSMON)
/* Lamp on */
board_backlight_switch (1);
#endif
/* Lamp on */
board_backlight_switch (1);
#endif
@@
-411,4
+414,3
@@
void video_hw_bitblt (unsigned int bpp, unsigned int src_x, unsigned int src_y,
DE_WR_FIFO ((height << 16) | width);
de_wait (); /* sync */
}
DE_WR_FIFO ((height << 16) | width);
de_wait (); /* sync */
}
-#endif /* CONFIG_VIDEO_MB862xx */