video DDR RAM initialization seems to use an octal number???
This commit is contained in:
@@ -560,6 +560,7 @@ void init_video_ddr(void) {
|
|||||||
_VRAM = 0x00060000; /* auto refresh */
|
_VRAM = 0x00060000; /* auto refresh */
|
||||||
NOP();
|
NOP();
|
||||||
|
|
||||||
|
/* FIXME: what's this? */
|
||||||
_VRAM = 0000070022; /* load MR dll on */
|
_VRAM = 0000070022; /* load MR dll on */
|
||||||
NOP();
|
NOP();
|
||||||
|
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ void init_pll(void)
|
|||||||
xprintf("FPGA PLL initialization: ");
|
xprintf("FPGA PLL initialization: ");
|
||||||
|
|
||||||
wait_pll();
|
wait_pll();
|
||||||
* (volatile uint16_t *) (pll_base + 0x48) = 27; /* loopfilter r */
|
* (volatile uint16_t *) (pll_base + 0x48) = 27; /* loopfilter r */
|
||||||
|
|
||||||
wait_pll();
|
wait_pll();
|
||||||
* (volatile uint16_t *) (pll_base + 0x08) = 1; /* charge pump 1 */
|
* (volatile uint16_t *) (pll_base + 0x08) = 1; /* charge pump 1 */
|
||||||
|
|||||||
Reference in New Issue
Block a user