From 02da21358eb6bf91091dfc74dda818a7f862683b Mon Sep 17 00:00:00 2001 From: marcan Date: Fri, 24 Apr 2009 22:29:24 +0200 Subject: [PATCH] Epic fix for AHB issues. Someone count up the bugs this kills --- memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory.c b/memory.c index 07cca7e..03fe3d3 100644 --- a/memory.c +++ b/memory.c @@ -110,7 +110,7 @@ void _ahb_flush_to(enum AHBDEV dev) { } //NOTE: 0xd8b000x, not 0xd8b400x! u32 val = _mc_read32(0xd8b0008); - if(val & mask) { + if(!(val & mask)) { switch(dev) { // 2 to 10 in IOS, add more case AHB_NAND: