diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/system-dm320.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/system-dm320.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/tms320dm320/system-dm320.c b/firmware/target/arm/tms320dm320/system-dm320.c index 234d13c743..ac7df30121 100644 --- a/firmware/target/arm/tms320dm320/system-dm320.c +++ b/firmware/target/arm/tms320dm320/system-dm320.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "uart-target.h" | 24 | #include "uart-target.h" |
25 | #include "system-arm.h" | 25 | #include "system-arm.h" |
26 | #include "spi.h" | 26 | #include "spi.h" |
27 | #ifdef CREATIVE_ZVM | 27 | #ifdef CREATIVE_ZVx |
28 | #include "dma-target.h" | 28 | #include "dma-target.h" |
29 | #endif | 29 | #endif |
30 | 30 | ||
@@ -224,7 +224,7 @@ void system_init(void) | |||
224 | IO_TIMER2_TMMD = CONFIG_TIMER2_TMMD_STOP; | 224 | IO_TIMER2_TMMD = CONFIG_TIMER2_TMMD_STOP; |
225 | IO_TIMER3_TMMD = CONFIG_TIMER3_TMMD_STOP; | 225 | IO_TIMER3_TMMD = CONFIG_TIMER3_TMMD_STOP; |
226 | 226 | ||
227 | #ifndef CREATIVE_ZVM | 227 | #ifndef CREATIVE_ZVx |
228 | /* set GIO26 (reset pin) to output and low */ | 228 | /* set GIO26 (reset pin) to output and low */ |
229 | IO_GIO_BITCLR1=(1<<10); | 229 | IO_GIO_BITCLR1=(1<<10); |
230 | IO_GIO_DIR1&=~(1<<10); | 230 | IO_GIO_DIR1&=~(1<<10); |
@@ -233,7 +233,7 @@ void system_init(void) | |||
233 | uart_init(); | 233 | uart_init(); |
234 | spi_init(); | 234 | spi_init(); |
235 | 235 | ||
236 | #ifdef CREATIVE_ZVM | 236 | #ifdef CREATIVE_ZVx |
237 | dma_init(); | 237 | dma_init(); |
238 | #endif | 238 | #endif |
239 | 239 | ||
@@ -245,8 +245,8 @@ void system_init(void) | |||
245 | map_section(CONFIG_SDRAM_START, CONFIG_SDRAM_START, MEM, CACHE_ALL); | 245 | map_section(CONFIG_SDRAM_START, CONFIG_SDRAM_START, MEM, CACHE_ALL); |
246 | /* enable buffered writing for the framebuffer */ | 246 | /* enable buffered writing for the framebuffer */ |
247 | map_section((int)FRAME, (int)FRAME, 1, BUFFERED); | 247 | map_section((int)FRAME, (int)FRAME, 1, BUFFERED); |
248 | #ifdef CREATIVE_ZVM | 248 | #ifdef CREATIVE_ZVx |
249 | //mimic OF | 249 | /* mimic OF */ |
250 | map_section(0x00100000, 0x00100000, 4, CACHE_NONE); | 250 | map_section(0x00100000, 0x00100000, 4, CACHE_NONE); |
251 | map_section(0x04700000, 0x04700000, 2, BUFFERED); | 251 | map_section(0x04700000, 0x04700000, 2, BUFFERED); |
252 | map_section(0x40000000, 0x40000000, 16, CACHE_NONE); | 252 | map_section(0x40000000, 0x40000000, 16, CACHE_NONE); |