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:
Franklin Wei 2019-10-13 23:21:19 -04:00
parent 7f1e6b4638
commit 3d6d90382e

View file

@ -199,8 +199,14 @@ enum {
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) */
clockgate_enable(CLOCKGATE_SM1, false);
#endif
clocking_init(clk_modes, 0);
#ifndef BOOTLOADER