From 3d6d90382ea368135544ebae875de99df73986ee Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 13 Oct 2019 23:21:19 -0400 Subject: [PATCH] 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 --- firmware/target/arm/s5l8702/system-s5l8702.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/target/arm/s5l8702/system-s5l8702.c b/firmware/target/arm/s5l8702/system-s5l8702.c index 9257aff85a..54042f1b7a 100644 --- a/firmware/target/arm/s5l8702/system-s5l8702.c +++ b/firmware/target/arm/s5l8702/system-s5l8702.c @@ -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