finished ELF toolchain integration

This commit is contained in:
Markus Fröschle
2012-10-30 20:43:23 +00:00
parent 5d7b06d53f
commit 313167fccd

View File

@@ -392,6 +392,8 @@ void init_pll(void)
#define NOP() __asm__ __volatile__("nop\n\t" : : : "memory")
void init_video_ddr(void) {
xprintf("init video RAM: ");
* (volatile uint16_t *) 0xf0000400 = 0xb; /* set cke = 1, cs=1, config = 1 */
NOP();
@@ -417,6 +419,8 @@ void init_video_ddr(void) {
NOP();
* (uint32_t *) 0xf0000400 = 0x01070002; /* fifo on, refresh on, ddrcs und cke on, video dac on */
xprintf("finished\r\n");
}