enable the RTC on the mrobe.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15279 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-10-23 14:22:44 +00:00
parent d40db1901e
commit dbff3731a5
3 changed files with 23 additions and 7 deletions

View file

@ -92,9 +92,8 @@ int spi_block_transfer(enum SPI_target target,
void spi_init(void)
{
spinlock_init(&spi_lock);
/* Set SCLK idle level = 0 */
IO_SERIAL0_MODE |= (1<<10);
/* Set SCLK idle level = 1 */
IO_SERIAL0_MODE &= ~(1<<10);
/* Enable TX */
IO_SERIAL0_TX_ENABLE = 0x0001;