mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)
2) Other unrelated cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
727a8059d7
commit
e031db4b87
21 changed files with 382 additions and 47 deletions
|
|
@ -43,7 +43,7 @@ struct SPI_info {
|
|||
|
||||
struct SPI_info spi_targets[] =
|
||||
{
|
||||
#ifndef CREATIVE_ZVM
|
||||
#ifndef CREATIVE_ZVx
|
||||
[SPI_target_TSC2100] = { &IO_GIO_BITCLR1, &IO_GIO_BITSET1, GIO_TS_ENABLE },
|
||||
[SPI_target_RX5X348AB] = { &IO_GIO_BITSET0, &IO_GIO_BITCLR0, GIO_RTC_ENABLE},
|
||||
[SPI_target_BACKLIGHT] = { &IO_GIO_BITCLR1, &IO_GIO_BITSET1, GIO_BL_ENABLE },
|
||||
|
|
@ -106,7 +106,7 @@ void spi_init(void)
|
|||
IO_SERIAL0_MODE |= IO_SERIAL0_MODE_SCLK;
|
||||
/* Enable TX */
|
||||
IO_SERIAL0_TX_ENABLE = 0x0001;
|
||||
#ifndef CREATIVE_ZVM
|
||||
#ifndef CREATIVE_ZVx
|
||||
/* Set GIO 18 to output for touch screen slave enable */
|
||||
IO_GIO_DIR1 &= ~GIO_TS_ENABLE;
|
||||
/* Set GIO 12 to output for rtc slave enable */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue