freemyipod r384 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r383‎ | r384 | r385 >
Date:23:34, 23 December 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS: Fix SPI driver cache coherency problem on S5L8702
Modified paths:
  • /embios/trunk/target/ipodnano3g/spi.c (modified) (history)

Diff [purge]

Index: embios/trunk/target/ipodnano3g/spi.c
@@ -95,6 +95,7 @@
9696 clean_dcache();
9797 DMAC0CCONFIG(port + 5) = 0x9001 | (SPIDMA(port) << 1);
9898 wakeup_wait(&spiwakeup[port], TIMEOUT_BLOCK);
 99+ invalidate_dcache();
99100 SPISETUP(port) &= ~0x41;
100101 }
101102