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:
parent
ddfd787c54
commit
a7af9e4a7f
17 changed files with 653 additions and 45 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue