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:
Jack Halpin 2010-04-08 06:12:44 +00:00
parent 42973f3175
commit 286fcfe8b1

View file

@ -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 */