mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-21 02:52:50 -05:00
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:
parent
d40db1901e
commit
dbff3731a5
3 changed files with 23 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue