mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Swap red and yellow for green on r31339's cranky builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31340 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6a67707b5e
commit
09769827fe
7 changed files with 16 additions and 16 deletions
|
|
@ -230,7 +230,7 @@ static void nand_transfer_data_start(uint32_t bank, uint32_t direction,
|
|||
DMACOM3 = DMACOM_CLEARBOTHDONE;
|
||||
DMABASE3 = (uint32_t)buffer;
|
||||
DMATCNT3 = (size >> 4) - 1;
|
||||
clean_dcache();
|
||||
commit_dcache();
|
||||
DMACOM3 = 4;
|
||||
}
|
||||
|
||||
|
|
@ -239,7 +239,7 @@ static uint32_t nand_transfer_data_collect(uint32_t direction)
|
|||
long timeout = current_tick + HZ / 50;
|
||||
while ((DMAALLST & DMAALLST_DMABUSY3))
|
||||
if (nand_timeout(timeout)) return 1;
|
||||
if (!direction) invalidate_dcache();
|
||||
if (!direction) commit_discard_dcache();
|
||||
if (nand_wait_addrdone()) return 1;
|
||||
if (!direction) FMCTRL1 = FMCTRL1_CLEARRFIFO | FMCTRL1_CLEARWFIFO;
|
||||
else FMCTRL1 = FMCTRL1_CLEARRFIFO;
|
||||
|
|
@ -263,7 +263,7 @@ static void ecc_start(uint32_t size, void* databuffer, void* sparebuffer,
|
|||
ECC_UNK1 = size;
|
||||
ECC_DATA_PTR = (uint32_t)databuffer;
|
||||
ECC_SPARE_PTR = (uint32_t)sparebuffer;
|
||||
clean_dcache();
|
||||
commit_dcache();
|
||||
ECC_CTRL = type;
|
||||
}
|
||||
|
||||
|
|
@ -272,7 +272,7 @@ static uint32_t ecc_collect(void)
|
|||
long timeout = current_tick + HZ / 50;
|
||||
while (!(SRCPND & INTMSK_ECC))
|
||||
if (nand_timeout(timeout)) return ecc_unlock(1);
|
||||
invalidate_dcache();
|
||||
commit_discard_dcache();
|
||||
ECC_INT_CLR = 1;
|
||||
SRCPND = INTMSK_ECC;
|
||||
return ecc_unlock(ECC_RESULT);
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ void INT_DMA(void)
|
|||
DMATCNT0 = nextsize / 2 - 1;
|
||||
nextsize = 0;
|
||||
}
|
||||
clean_dcache();
|
||||
commit_dcache();
|
||||
DMACOM0 = 4;
|
||||
DMACOM0 = 7;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue