fix GPIO fail *cough*

This commit is contained in:
bushing 2009-08-31 01:46:09 -07:00
parent 4d854edb54
commit f41e7fdd7c
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Copyright (C) 2008, 2009 John Kelley <wiidev@kelley.ca>
#define HW_ARMIRQMASK (HW_REG_BASE + 0x03c)
#define HW_MEMMIRR (HW_REG_BASE + 0x060)
#define HW_AHBPROT (HW_REG_BASE + 0x064)
// something to do with PPCBOOT
// and legacy DI it seems ?!?

View File

@ -41,6 +41,7 @@ void powerpc_upload_stub(u32 entry)
write32(EXI_BOOT_BASE + 4 * i, 0);
set32(HW_DIFLAGS, DIFLAGS_BOOT_CODE);
set32(HW_AHBPROT, 0xFFFFFFFF);
gecko_printf("disabling EXI now...\n");
clear32(HW_EXICTRL, EXICTRL_ENABLE_EXI);