video DDR RAM initialization seems to use an octal number???

This commit is contained in:
Markus Fröschle
2015-01-13 07:05:08 +00:00
parent c7a1641405
commit be732799a1
2 changed files with 2 additions and 1 deletions

View File

@@ -560,6 +560,7 @@ void init_video_ddr(void) {
_VRAM = 0x00060000; /* auto refresh */
NOP();
/* FIXME: what's this? */
_VRAM = 0000070022; /* load MR dll on */
NOP();

View File

@@ -155,7 +155,7 @@ void init_pll(void)
xprintf("FPGA PLL initialization: ");
wait_pll();
* (volatile uint16_t *) (pll_base + 0x48) = 27; /* loopfilter r */
* (volatile uint16_t *) (pll_base + 0x48) = 27; /* loopfilter r */
wait_pll();
* (volatile uint16_t *) (pll_base + 0x08) = 1; /* charge pump 1 */