Epic fix for AHB issues. Someone count up the bugs this kills

This commit is contained in:
marcan 2009-04-24 22:29:24 +02:00 committed by bushing
parent 06a17f9d81
commit 02da21358e

View File

@ -110,7 +110,7 @@ void _ahb_flush_to(enum AHBDEV dev) {
} }
//NOTE: 0xd8b000x, not 0xd8b400x! //NOTE: 0xd8b000x, not 0xd8b400x!
u32 val = _mc_read32(0xd8b0008); u32 val = _mc_read32(0xd8b0008);
if(val & mask) { if(!(val & mask)) {
switch(dev) { switch(dev) {
// 2 to 10 in IOS, add more // 2 to 10 in IOS, add more
case AHB_NAND: case AHB_NAND: