bios: Add VideoFrameBuffer VTG/DMA initialisation.
This just configures the enables for now since other parameters are pre-configured during the build.
This commit is contained in:
parent
f553b5fc83
commit
2d5b4b206b
|
@ -165,6 +165,14 @@ int main(int i, char **c)
|
||||||
spiflash_init();
|
spiflash_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CSR_VIDEO_FRAMEBUFFER_BASE
|
||||||
|
/* Initialize Video Framebuffer FIXME: Move */
|
||||||
|
video_framebuffer_vtg_enable_write(0);
|
||||||
|
video_framebuffer_dma_enable_write(0);
|
||||||
|
video_framebuffer_vtg_enable_write(1);
|
||||||
|
video_framebuffer_dma_enable_write(1);
|
||||||
|
#endif
|
||||||
|
|
||||||
if(sdr_ok) {
|
if(sdr_ok) {
|
||||||
printf("--============== \e[1mBoot\e[0m ==================--\n");
|
printf("--============== \e[1mBoot\e[0m ==================--\n");
|
||||||
boot_sequence();
|
boot_sequence();
|
||||||
|
|
Loading…
Reference in New Issue