iPod Classic: enable IRAM1 in bootloader
7442742
("iPod Classic: disable IRAM1") was causing subsequent ipod6g
bootloader builds to result in a completely black screen upon
installation, with recovery only possible with a reflash through DFU
mode.
IRAM1 is re-enabled for bootloader only.
Change-Id: I92d489c91f81cad55d66a8647c1e61a45f468770
This commit is contained in:
parent
7f1e6b4638
commit
3d6d90382e
1 changed files with 6 additions and 0 deletions
|
@ -199,8 +199,14 @@ enum {
|
||||||
|
|
||||||
void system_init(void)
|
void system_init(void)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
* Bootloader seems to give a blank screen when IRAM1 is disabled
|
||||||
|
* - FW 10/13/19
|
||||||
|
*/
|
||||||
|
#ifndef BOOTLOADER
|
||||||
/* disable IRAM1 (not used because it is slower than DRAM) */
|
/* disable IRAM1 (not used because it is slower than DRAM) */
|
||||||
clockgate_enable(CLOCKGATE_SM1, false);
|
clockgate_enable(CLOCKGATE_SM1, false);
|
||||||
|
#endif
|
||||||
|
|
||||||
clocking_init(clk_modes, 0);
|
clocking_init(clk_modes, 0);
|
||||||
#ifndef BOOTLOADER
|
#ifndef BOOTLOADER
|
||||||
|
|
Loading…
Reference in a new issue