1
0
Fork 0
forked from len0rd/rockbox

Add GPIO manager. Get the PMIC interrupt handling working (along with power button and HP detect). Add some reg field defined instead of using raw numbers. Add PMIC info to debug ports screen. Refine PMIC driver ops a little bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17086 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-04-12 16:56:45 +00:00
parent ddfd787c54
commit a7af9e4a7f
17 changed files with 653 additions and 45 deletions

View file

@ -2,6 +2,7 @@
#include "system.h"
#include "panic.h"
#include "avic-imx31.h"
#include "gpio-imx31.h"
#include "mmu-imx31.h"
#include "system-target.h"
#include "lcd.h"
@ -23,6 +24,7 @@ void system_init(void)
/* MCR WFI enables wait mode */
CLKCTL_CCMR &= ~(3 << 14);
avic_init();
gpio_init();
}
#ifdef BOOTLOADER