mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
iPod Classic: HW initialization for RB
Do not rely on a bootloader initializing the HW, RB initializes and configures GPIO, I2C, and PMU at startup. Change-Id: If7f856b1f345f63de584aa4e4fc22d130cd66c80
This commit is contained in:
parent
e863f9a0ce
commit
3f17745930
9 changed files with 25 additions and 23 deletions
|
|
@ -215,7 +215,6 @@ void ICODE_ATTR INT_EXT6(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef BOOTLOADER
|
||||
static uint32_t gpio_data[16] =
|
||||
{
|
||||
0x5322222F, 0xEEEEEE00, 0x2332EEEE, 0x3333E222,
|
||||
|
|
@ -232,4 +231,3 @@ void gpio_preinit(void)
|
|||
PUNC(i) = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue