mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-16 16:39:25 +01:00
Epic fix for AHB issues. Someone count up the bugs this kills
This commit is contained in:
parent
06a17f9d81
commit
02da21358e
2
memory.c
2
memory.c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user