mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
sd-as3525v2: Start out with all MCI Interrupts masked.
Before the clock settings were fixed this setting actually caused the problem it now seems to solve. Random freezups seem to be gone for clip+ at least. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25531 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
42973f3175
commit
286fcfe8b1
1 changed files with 2 additions and 1 deletions
|
|
@ -658,7 +658,8 @@ static void init_controller(void)
|
|||
/* Rx watermark = 63(sd reads) Tx watermark = 128 (sd writes) */
|
||||
MCI_FIFOTH = (MCI_FIFOTH & MCI_FIFOTH_MASK) | 0x503f0080;
|
||||
|
||||
MCI_MASK = 0xffff & ~(MCI_INT_ACD|MCI_INT_CRDDET|MCI_INT_RXDR|MCI_INT_TXDR);
|
||||
/* Mask all MCI Interrupts initially */
|
||||
MCI_MASK = 0;
|
||||
|
||||
GPIOB_DIR |= (1<<5); /* Pin B5 output */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue