diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/spi-dm320.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/spi-dm320.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/spi-dm320.c b/firmware/target/arm/tms320dm320/spi-dm320.c index a7b4fc678e..6375298c0f 100644 --- a/firmware/target/arm/tms320dm320/spi-dm320.c +++ b/firmware/target/arm/tms320dm320/spi-dm320.c | |||
@@ -43,7 +43,7 @@ struct SPI_info { | |||
43 | 43 | ||
44 | struct SPI_info spi_targets[] = | 44 | struct SPI_info spi_targets[] = |
45 | { | 45 | { |
46 | #ifndef CREATIVE_ZVM | 46 | #ifndef CREATIVE_ZVx |
47 | [SPI_target_TSC2100] = { &IO_GIO_BITCLR1, &IO_GIO_BITSET1, GIO_TS_ENABLE }, | 47 | [SPI_target_TSC2100] = { &IO_GIO_BITCLR1, &IO_GIO_BITSET1, GIO_TS_ENABLE }, |
48 | [SPI_target_RX5X348AB] = { &IO_GIO_BITSET0, &IO_GIO_BITCLR0, GIO_RTC_ENABLE}, | 48 | [SPI_target_RX5X348AB] = { &IO_GIO_BITSET0, &IO_GIO_BITCLR0, GIO_RTC_ENABLE}, |
49 | [SPI_target_BACKLIGHT] = { &IO_GIO_BITCLR1, &IO_GIO_BITSET1, GIO_BL_ENABLE }, | 49 | [SPI_target_BACKLIGHT] = { &IO_GIO_BITCLR1, &IO_GIO_BITSET1, GIO_BL_ENABLE }, |
@@ -106,7 +106,7 @@ void spi_init(void) | |||
106 | IO_SERIAL0_MODE |= IO_SERIAL0_MODE_SCLK; | 106 | IO_SERIAL0_MODE |= IO_SERIAL0_MODE_SCLK; |
107 | /* Enable TX */ | 107 | /* Enable TX */ |
108 | IO_SERIAL0_TX_ENABLE = 0x0001; | 108 | IO_SERIAL0_TX_ENABLE = 0x0001; |
109 | #ifndef CREATIVE_ZVM | 109 | #ifndef CREATIVE_ZVx |
110 | /* Set GIO 18 to output for touch screen slave enable */ | 110 | /* Set GIO 18 to output for touch screen slave enable */ |
111 | IO_GIO_DIR1 &= ~GIO_TS_ENABLE; | 111 | IO_GIO_DIR1 &= ~GIO_TS_ENABLE; |
112 | /* Set GIO 12 to output for rtc slave enable */ | 112 | /* Set GIO 12 to output for rtc slave enable */ |